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.
|
Modifier and Type | Class and 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 as
2007-12-03 . |
class |
LocalDateTime
A date-time without a time-zone in the ISO-8601 calendar system,
such as
2007-12-03T10:15:30 . |
class |
LocalTime
A time without time-zone in the ISO-8601 calendar system,
such as
10: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 as
2007-12-03+01:00 . |
class |
OffsetDateTime
A date-time with a zone offset from UTC in the ISO-8601 calendar system,
such as
2007-12-03T10:15:30+01:00 . |
class |
OffsetTime
A time with a zone offset from UTC in the ISO-8601 calendar system,
such as
10: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 as
2007 . |
class |
YearMonth
A year-month in the ISO-8601 calendar system, such as
2007-12 . |
class |
ZonedDateTime
A date-time with a time-zone in the ISO-8601 calendar system,
such as
2007-12-03T10:15:30+01:00 Europe/Paris . |
class |
ZoneOffset
A time-zone offset from UTC, such as
+02:00 . |
Modifier and Type | Method and Description |
---|---|
Calendrical |
CalendricalMerger.merge()
Merges the fields to extract the maximum possible date, time and offset information.
|
Modifier and Type | Method and Description |
---|---|
int |
CalendricalRule.compare(Calendrical cal1,
Calendrical cal2)
Compares two
Calendrical 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 the
int value of this field from the specified calendrical
throwing an exception if the value cannot be returned. |
Integer |
DateTimeFieldRule.getInteger(Calendrical calendrical)
Gets the
Integer value of this field from the specified calendrical
returning null 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 returning
null 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 |
LocalDate.matchesCalendrical(Calendrical calendrical)
Checks if the date extracted from the calendrical matches this date.
|
boolean |
ZonedDateTime.matchesCalendrical(Calendrical calendrical)
Checks if the date-time extracted from the calendrical matches this.
|
boolean |
DateTimeFields.matchesCalendrical(Calendrical calendrical)
Checks if the fields in this object match those in the specified calendrical.
|
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 |
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 |
YearMonth.matchesCalendrical(Calendrical calendrical)
Checks if the year-month 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 |
Year.matchesCalendrical(Calendrical calendrical)
Checks if the year extracted from the calendrical matches this.
|
static YearMonth |
YearMonth.of(Calendrical calendrical)
Obtains an instance of
YearMonth from a Calendrical. |
static MonthDay |
MonthDay.of(Calendrical calendrical)
Obtains an instance of
MonthDay from a Calendrical. |
static Year |
Year.of(Calendrical calendrical)
Obtains an instance of
Year from a calendrical. |
Modifier and Type | Method and 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.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
static CopticDate |
CopticDate.of(Calendrical calendrical)
Obtains an instance of
CopticDate from a calendrical. |
static HistoricDate |
HistoricDate.of(Calendrical calendrical)
Obtains an instance of
HistoricDate from a calendrical. |
Copyright © 2014. All rights reserved.