Uses of Interface
java.time.chrono.Chronology
-
Packages that use Chronology Package Description java.time.chrono Generic API for calendar systems other than the default ISO.java.time.format Provides classes to print and parse dates and times.java.time.temporal Access to date and time using fields and units, and date time adjusters. -
-
Uses of Chronology in java.time.chrono
Classes in java.time.chrono that implement Chronology Modifier and Type Class Description classAbstractChronologyAn abstract implementation of a calendar system, used to organize and identify dates.classHijrahChronologyThe Hijrah calendar is a lunar calendar supporting Islamic calendars.classIsoChronologyThe ISO calendar system.classJapaneseChronologyThe Japanese Imperial calendar system.classMinguoChronologyThe Minguo calendar system.classThaiBuddhistChronologyThe Thai Buddhist calendar system.Methods in java.time.chrono that return Chronology Modifier and Type Method Description static ChronologyChronology. from(TemporalAccessor temporal)Obtains an instance ofChronologyfrom a temporal object.ChronologyChronoLocalDate. getChronology()Gets the chronology of this date.default ChronologyChronoLocalDateTime. getChronology()Gets the chronology of this date-time.ChronologyChronoPeriod. getChronology()Gets the chronology that defines the meaning of the supported units.default ChronologyChronoZonedDateTime. getChronology()Gets the chronology of this date-time.static ChronologyChronology. of(String id)Obtains an instance ofChronologyfrom a chronology ID or calendar system type.static ChronologyChronology. ofLocale(Locale locale)Obtains an instance ofChronologyfrom a locale.Methods in java.time.chrono that return types with arguments of type Chronology Modifier and Type Method Description static Set<Chronology>Chronology. getAvailableChronologies()Returns the available chronologies.Methods in java.time.chrono with parameters of type Chronology Modifier and Type Method Description intAbstractChronology. compareTo(Chronology other)Compares this chronology to another chronology.intChronology. compareTo(Chronology other)Compares this chronology to another chronology. -
Uses of Chronology in java.time.format
Methods in java.time.format that return Chronology Modifier and Type Method Description ChronologyDateTimeFormatter. getChronology()Gets the overriding chronology to be used during formatting.Methods in java.time.format with parameters of type Chronology Modifier and Type Method Description static StringDateTimeFormatterBuilder. getLocalizedDateTimePattern(FormatStyle dateStyle, FormatStyle timeStyle, Chronology chrono, Locale locale)Gets the formatting pattern for date and time styles for a locale and chronology.DateTimeFormatterDateTimeFormatter. withChronology(Chronology chrono)Returns a copy of this formatter with a new override chronology. -
Uses of Chronology in java.time.temporal
Methods in java.time.temporal that return types with arguments of type Chronology Modifier and Type Method Description static TemporalQuery<Chronology>TemporalQueries. chronology()A query for theChronology.
-