ChronoPeriod
Interface ChronoPeriod
- All Superinterfaces:
- TemporalAmount
- All Known Implementing Classes:
- Period
public interface ChronoPeriod extends TemporalAmount
A date-based amount of time, such as '3 years, 4 months and 5 days' in an arbitrary chronology, intended for advanced globalization use cases.
This interface models a date-based amount of time in a calendar system. While most calendar systems use years, months and days, some do not. Therefore, this interface operates solely in terms of a set of supported units that are defined by the Chronology
. The set of supported units is fixed for a given chronology. The amount of a supported unit may be set to zero.
The period is modeled as a directed amount of time, me