Uses of Class
org.threeten.bp.chrono.JapaneseEra
Packages that use JapaneseEra
-
Uses of JapaneseEra in org.threeten.bp.chrono
Fields in org.threeten.bp.chrono declared as JapaneseEraModifier and TypeFieldDescriptionprivate JapaneseEraJapaneseDate.eraThe JapaneseEra of this date.static final JapaneseEraJapaneseEra.HEISEIThe singleton instance for the 'Heisei' era (1989-01-08 - 2019-04-30) which has the value 2.static final JapaneseEraJapaneseEra.MEIJIThe singleton instance for the 'Meiji' era (1868-09-08 - 1912-07-29) which has the value -1.static final JapaneseEraJapaneseEra.REIWAThe singleton instance for the 'Reiwa' era (2019-05-01 - current) which has the value 3.static final JapaneseEraJapaneseEra.SHOWAThe singleton instance for the 'Showa' era (1926-12-25 - 1989-01-07) which has the value 1.static final JapaneseEraJapaneseEra.TAISHOThe singleton instance for the 'Taisho' era (1912-07-30 - 1926-12-24) which has the value 0.Methods in org.threeten.bp.chrono that return JapaneseEraModifier and TypeMethodDescriptionJapaneseChronology.eraOf(int eraValue) Returns the calendar system era object from the given numeric value.(package private) static JapaneseEraObtains an instance ofJapaneseErafrom a date.JapaneseDate.getEra()static JapaneseEraJapaneseEra.of(int japaneseEra) Obtains an instance ofJapaneseErafrom anintvalue.(package private) static JapaneseEraJapaneseEra.readExternal(DataInput in) static JapaneseEraJapaneseEra.registerEra(LocalDate since, String name) Registers an additional instance ofJapaneseEra.static JapaneseEraReturns theJapaneseErawith the name.static JapaneseEra[]JapaneseEra.values()Returns an array of JapaneseEras.Methods in org.threeten.bp.chrono with parameters of type JapaneseEraModifier and TypeMethodDescriptionstatic JapaneseDateJapaneseDate.of(JapaneseEra era, int yearOfEra, int month, int dayOfMonth) Obtains aJapaneseDaterepresenting a date in the Japanese calendar system from the era, year-of-era, month-of-year and day-of-month fields.(package private) static JapaneseDateJapaneseDate.ofYearDay(JapaneseEra era, int yearOfEra, int dayOfYear) Obtains aJapaneseDaterepresenting a date in the Japanese calendar system from the era, year-of-era and day-of-year fields.private JapaneseDateJapaneseChronology.resolveEYD(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle, JapaneseEra era, int yoe) private JapaneseDateJapaneseChronology.resolveEYMD(Map<TemporalField, Long> fieldValues, ResolverStyle resolverStyle, JapaneseEra era, int yoe) private JapaneseDateJapaneseDate.withYear(JapaneseEra era, int yearOfEra) Returns a copy of this date with the year altered.Constructors in org.threeten.bp.chrono with parameters of type JapaneseEraModifierConstructorDescription(package private)JapaneseDate(JapaneseEra era, int year, LocalDate isoDate) Constructs aJapaneseDate.