Uses of Interface
java.time.chrono.Chronology
Package
Description
Generic API for calendar systems other than the default ISO.
Provides classes to print and parse dates and times.
Access to date and time using fields and units, and date time adjusters.
-
Uses of Chronology in java.time.chrono
Modifier and TypeClassDescriptionclass
An abstract implementation of a calendar system, used to organize and identify dates.final class
The Hijrah calendar is a lunar calendar supporting Islamic calendars.final class
The ISO calendar system.final class
The Japanese Imperial calendar system.final class
The Minguo calendar system.final class
The Thai Buddhist calendar system.Modifier and TypeMethodDescriptionstatic Chronology
Chronology.from
(TemporalAccessor temporal) Obtains an instance ofChronology
from a temporal object.ChronoLocalDate.getChronology()
Gets the chronology of this date.default Chronology
ChronoLocalDateTime.getChronology()
Gets the chronology of this date-time.ChronoPeriod.getChronology()
Gets the chronology that defines the meaning of the supported units.default Chronology
ChronoZonedDateTime.getChronology()
Gets the chronology of this date-time.static Chronology
Obtains an instance ofChronology
from a chronology ID or calendar system type.static Chronology
Obtains an instance ofChronology
from a locale.Modifier and TypeMethodDescriptionstatic Set<Chronology>
Chronology.getAvailableChronologies()
Returns the available chronologies.Modifier and TypeMethodDescriptionint
AbstractChronology.compareTo
(Chronology other) Compares this chronology to another chronology.int
Chronology.compareTo
(Chronology other) Compares this chronology to another chronology. -
Uses of Chronology in java.time.format
Modifier and TypeMethodDescriptionDateTimeFormatter.getChronology()
Gets the overriding chronology to be used during formatting.Modifier and TypeMethodDescriptionstatic String
DateTimeFormatterBuilder.getLocalizedDateTimePattern
(FormatStyle dateStyle, FormatStyle timeStyle, Chronology chrono, Locale locale) Gets the formatting pattern for date and time styles for a locale and chronology.DateTimeFormatter.withChronology
(Chronology chrono) Returns a copy of this formatter with a new override chronology. -
Uses of Chronology in java.time.temporal
Modifier and TypeMethodDescriptionstatic TemporalQuery<Chronology>
TemporalQueries.chronology()
A query for theChronology
.