Java.Time.Chrono Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides calendar systems, dates, date-times, periods, and eras for ISO and non-ISO calendars.
Classes
| Name | Description |
|---|---|
| AbstractChronology |
An abstract implementation of a calendar system, used to organize and identify dates. |
| ChronoLocalDate |
A date without a time-of-day or time-zone in an arbitrary chronology, intended for advanced globalization use cases. |
| ChronoLocalDateTime |
A date-time without a time-zone in an arbitrary chronology, intended for advanced globalization use cases. |
| Chronology |
A calendar system, used to organize and identify dates. |
| ChronoPeriod |
A date-based amount of time in an arbitrary chronology, intended for advanced globalization use cases. |
| ChronoZonedDateTime |
Provides the legacy class form of static methods on IChronoZonedDateTime. |
| HijrahEra |
An era in the Hijrah calendar system. |
| IsoChronology |
The ISO calendar system. |
| IsoEra |
An era in the ISO calendar system. |
| JapaneseEra |
An era in the Japanese Imperial calendar system. |
| MinguoEra |
An era in the Minguo calendar system. |
| ThaiBuddhistEra |
An era in the Thai Buddhist calendar system. |
Interfaces
| Name | Description |
|---|---|
| IChronoLocalDate |
A date without time-of-day or time-zone in an arbitrary chronology, intended for advanced globalization use cases. |
| IChronoLocalDateTime |
A date-time without a time-zone in an arbitrary chronology, intended for advanced globalization use cases. |
| IChronology |
A calendar system, used to organize and identify dates. |
| IChronoPeriod |
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. |
| IChronoZonedDateTime |
A date-time with a time-zone in an arbitrary chronology, intended for advanced globalization use cases. |
| IEra |
An era of the time-line. |
Remarks
IChronology defines a calendar system. IChronoLocalDate defines a date in that system. This namespace includes the Hijrah, Japanese, Minguo, Thai Buddhist, and ISO calendar systems.
Use the ISO-based types in Java.Time for most application logic, data storage, and network transfers. Use the calendar-specific types when the user interface must accept or display dates in another calendar system. Read the guidance for IChronoLocalDate before using multiple calendar systems.