Uses of Class
javax.time.i18n.HistoricDate
Packages that use HistoricDate
Package
Description
Provides classes representing dates and times in alternate calendar systems.
-
Uses of HistoricDate in javax.time.i18n
Fields in javax.time.i18n with type parameters of type HistoricDateModifier and TypeFieldDescriptionprivate static final CalendricalRule<HistoricDate>
HistoricDate.Rule.INSTANCE
Methods in javax.time.i18n that return HistoricDateModifier and TypeMethodDescriptionprotected HistoricDate
HistoricDate.Rule.derive
(Calendrical calendrical) (package private) HistoricDate
HistoricChronology.getDateFromDayOfYear
(int year, int dayOfYear) Calculates the date from a year and day-of-year.static HistoricDate
HistoricDate.of
(int historicYear, MonthOfYear monthOfYear, int dayOfMonth) Obtains an instance ofLocalDate
from a year, month and day using the standard cutover of 1582-10-15.static HistoricDate
HistoricDate.of
(Calendrical calendrical) Obtains an instance ofHistoricDate
from a calendrical.static HistoricDate
HistoricDate.of
(LocalDate cutover, int historicYear, MonthOfYear monthOfYear, int dayOfMonth) Obtains an instance ofLocalDate
from a year, month and day specifying the cutover date to use.HistoricDate.plusDays
(int days) Returns a copy of this date with the specified number of days added.HistoricDate.plusMonths
(int months) Returns a copy of this date with the specified number of months added.HistoricDate.plusYears
(int years) Returns a copy of this date with the specified number of years added.private HistoricDate
HistoricDate.previousValid
(int historicYear, MonthOfYear monthOfYear, int dayOfMonth) Obtains an instance ofHistoricDate
using the previous valid algorithm.HistoricDate.withDayOfMonth
(int dayOfMonth) Returns a copy of this date with the day-of-month value altered.HistoricDate.withDayOfYear
(int dayOfYear) Returns a copy of this date with the day-of-year value altered.HistoricDate.withMonthOfYear
(MonthOfYear monthOfYear) Returns a copy of this date with the month-of-year value altered.HistoricDate.withYear
(int historicYear) Returns a copy of this date with the year value altered.Methods in javax.time.i18n that return types with arguments of type HistoricDateModifier and TypeMethodDescriptionstatic CalendricalRule<HistoricDate>
HistoricDate.rule()
Gets the field rule forHistoricDate
.Methods in javax.time.i18n with parameters of type HistoricDateModifier and TypeMethodDescriptionint
HistoricDate.compareTo
(HistoricDate otherDate) Compares this date to the specified date.(package private) int
HistoricChronology.getDayOfYear
(HistoricDate date) Calculates the day-of-year from a date.boolean
HistoricDate.isAfter
(HistoricDate otherDate) Checks is this date is after the specified date.boolean
HistoricDate.isBefore
(HistoricDate otherDate) Checks is this date is before the specified date.