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.INSTANCEMethods in javax.time.i18n that return HistoricDateModifier and TypeMethodDescriptionprotected HistoricDateHistoricDate.Rule.derive(Calendrical calendrical) (package private) HistoricDateHistoricChronology.getDateFromDayOfYear(int year, int dayOfYear) Calculates the date from a year and day-of-year.static HistoricDateHistoricDate.of(int historicYear, MonthOfYear monthOfYear, int dayOfMonth) Obtains an instance ofLocalDatefrom a year, month and day using the standard cutover of 1582-10-15.static HistoricDateHistoricDate.of(Calendrical calendrical) Obtains an instance ofHistoricDatefrom a calendrical.static HistoricDateHistoricDate.of(LocalDate cutover, int historicYear, MonthOfYear monthOfYear, int dayOfMonth) Obtains an instance ofLocalDatefrom 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 HistoricDateHistoricDate.previousValid(int historicYear, MonthOfYear monthOfYear, int dayOfMonth) Obtains an instance ofHistoricDateusing 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 TypeMethodDescriptionintHistoricDate.compareTo(HistoricDate otherDate) Compares this date to the specified date.(package private) intHistoricChronology.getDayOfYear(HistoricDate date) Calculates the day-of-year from a date.booleanHistoricDate.isAfter(HistoricDate otherDate) Checks is this date is after the specified date.booleanHistoricDate.isBefore(HistoricDate otherDate) Checks is this date is before the specified date.