Uses of Interface
javax.time.calendar.Calendrical
-
Packages that use Calendrical Package Description javax.time.calendar Provides classes to manage the human time scale including date, time, date-time and time-zone representations.javax.time.calendar.format Provides classes to format dates and times as strings.javax.time.i18n Provides classes representing dates and times in alternate calendar systems. -
-
Uses of Calendrical in javax.time.calendar
Classes in javax.time.calendar that implement Calendrical Modifier and Type Class Description class
AmPmOfDay
A half-day before or after midday, with the values 'AM' and 'PM'.class
CalendricalMerger
Stateful class used to merge calendrical information.class
Chronology
A calendar system, consisting of rules controlling the passage of human-scale time.class
DateTimeFields
A set of date-time fields.class
DayOfWeek
A day-of-week, such as 'Tuesday'.class
ISOChronology
The ISO-8601 calendar system, which follows the rules of the current de facto world calendar.class
LocalDate
A date without a time-zone in the ISO-8601 calendar system, such as2007-12-03
.class
LocalDateTime
A date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30
.class
LocalTime
A time without time-zone in the ISO-8601 calendar system, such as10:15:30
.class
MonthDay
A month-day in the ISO-8601 calendar system, such as--12-03
.class
MonthOfYear
A month-of-year, such as 'July'.class
OffsetDate
A date with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03+01:00
.class
OffsetDateTime
A date-time with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00
.class
OffsetTime
A time with a zone offset from UTC in the ISO-8601 calendar system, such as10:15:30+01:00
.class
QuarterOfYear
A quarter-of-year, such as 'Q2'.class
TimeZone
A time-zone representing the set of rules by which the zone offset varies through the year and historically.class
Year
A year in the ISO-8601 calendar system, such as2007
.class
YearMonth
A year-month in the ISO-8601 calendar system, such as2007-12
.class
ZonedDateTime
A date-time with a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00 Europe/Paris
.class
ZoneOffset
A time-zone offset from UTC, such as+02:00
.Methods in javax.time.calendar that return Calendrical Modifier and Type Method Description Calendrical
CalendricalMerger. merge()
Merges the fields to extract the maximum possible date, time and offset information.Methods in javax.time.calendar with parameters of type Calendrical Modifier and Type Method Description int
CalendricalRule. compare(Calendrical cal1, Calendrical cal2)
Compares twoCalendrical
implementations based on the value of this rule extracted from each calendrical.protected T
CalendricalRule. derive(Calendrical calendrical)
Derives the value of this rule from a calendrical.<R> R
CalendricalRule. deriveValueFor(CalendricalRule<R> rule, T value, Calendrical calendrical, Chronology chronology)
Derives the value of the specified rule from a calendrical.T
CalendricalRule. deriveValueFrom(Calendrical calendrical)
Derives the value of this rule from a calendrical.int
DateTimeFieldRule. getInt(Calendrical calendrical)
Gets theint
value of this field from the specified calendrical throwing an exception if the value cannot be returned.Integer
DateTimeFieldRule. getInteger(Calendrical calendrical)
Gets theInteger
value of this field from the specified calendrical returningnull
if the value cannot be returned.int
DateTimeFieldRule. getMaximumValue(Calendrical calendrical)
Gets the minimum value that the field can take using the specified calendrical information to refine the accuracy of the response.int
DateTimeFieldRule. getMinimumValue(Calendrical calendrical)
Gets the minimum value that the field can take using the specified calendrical information to refine the accuracy of the response.T
CalendricalRule. getValue(Calendrical calendrical)
Gets the value of this rule from the specified calendrical returningnull
if the value cannot be returned.T
CalendricalRule. getValueChecked(Calendrical calendrical)
Gets the value of the rule from the specified calendrical throwing an exception if the rule cannot be returned.boolean
CalendricalMatcher. matchesCalendrical(Calendrical calendrical)
Checks if the input calendrical matches the rules of the implementation.boolean
DateTimeFields. matchesCalendrical(Calendrical calendrical)
Checks if the fields in this object match those in the specified calendrical.boolean
LocalDate. matchesCalendrical(Calendrical calendrical)
Checks if the date extracted from the calendrical matches this date.boolean
LocalDateTime. matchesCalendrical(Calendrical calendrical)
Checks if the date-time extracted from the calendrical matches this.boolean
LocalTime. matchesCalendrical(Calendrical calendrical)
Checks if the time extracted from the calendrical matches this.boolean
MonthDay. matchesCalendrical(Calendrical calendrical)
Checks if the month-day extracted from the calendrical matches this.boolean
OffsetDate. matchesCalendrical(Calendrical calendrical)
Checks if the date extracted from the calendrical matches this date.boolean
OffsetDateTime. matchesCalendrical(Calendrical calendrical)
Checks if the date-time extracted from the calendrical matches this.boolean
OffsetTime. matchesCalendrical(Calendrical calendrical)
Checks if the time extracted from the calendrical matches this.boolean
Year. matchesCalendrical(Calendrical calendrical)
Checks if the year extracted from the calendrical matches this.boolean
YearMonth. matchesCalendrical(Calendrical calendrical)
Checks if the year-month extracted from the calendrical matches this.boolean
ZonedDateTime. matchesCalendrical(Calendrical calendrical)
Checks if the date-time extracted from the calendrical matches this.static MonthDay
MonthDay. of(Calendrical calendrical)
Obtains an instance ofMonthDay
from a Calendrical.static Year
Year. of(Calendrical calendrical)
Obtains an instance ofYear
from a calendrical.static YearMonth
YearMonth. of(Calendrical calendrical)
Obtains an instance ofYearMonth
from a Calendrical. -
Uses of Calendrical in javax.time.calendar.format
Methods in javax.time.calendar.format with parameters of type Calendrical Modifier and Type Method Description boolean
DateTimePrinter. isPrintDataAvailable(Calendrical calendrical)
Checks if the calendrical contains the data necessary to be printed.String
DateTimeFormatter. print(Calendrical calendrical)
Prints the calendrical using this formatter.void
DateTimeFormatter. print(Calendrical calendrical, Appendable appendable)
Prints the calendrical to an Appendable using this formatter.void
DateTimePrinter. print(Calendrical calendrical, Appendable appendable, DateTimeFormatSymbols symbols)
Prints the calendrical object to the appendable. -
Uses of Calendrical in javax.time.i18n
Classes in javax.time.i18n that implement Calendrical Modifier and Type Class Description class
CopticChronology
The Coptic calendar system.class
CopticDate
A date in the Coptic calendar system.class
HistoricChronology
The Historic calendar system.class
HistoricDate
A date in the Historic calendar system.class
HistoricEra
An era in the historic calendar system, with the values 'BCE' and 'CE'.class
JulianChronology
The Julian calendar system.Methods in javax.time.i18n with parameters of type Calendrical Modifier and Type Method Description static CopticDate
CopticDate. of(Calendrical calendrical)
Obtains an instance ofCopticDate
from a calendrical.static HistoricDate
HistoricDate. of(Calendrical calendrical)
Obtains an instance ofHistoricDate
from a calendrical.
-