Uses of Class
net.time4j.calendar.Nengo
Packages that use Nengo
-
Uses of Nengo in net.time4j.calendar
Fields in net.time4j.calendar declared as NengoModifier and TypeFieldDescriptionstatic Nengo
Nengo.HEISEI
Heisei is valid from 1989-01-08 until 2019-04-30 (emperor Akihito).static Nengo
Nengo.MEIJI
Meji is valid from year 1868 until 1912-07-29.static Nengo
Nengo.NEWEST
The newest known nengo.static Nengo
Nengo.REIWA
Reiwa is valid from 2019-05-01 onwards (emperor Naruhito).static Nengo
Nengo.SHOWA
Shōwa is valid from 1926-12-25 until 1989-01-07.static Nengo
Nengo.TAISHO
Taishō is valid from 1912-07-30 until 1926-12-24.Fields in net.time4j.calendar with type parameters of type NengoModifier and TypeFieldDescriptionstatic TextElement<Nengo>
JapaneseCalendar.ERA
Represents the Japanese era (nengo).Methods in net.time4j.calendar that return NengoModifier and TypeMethodDescriptionJapaneseCalendar.getEra()
Yields the Japanese era (nengo).static Nengo
Tries to find a suitable nengo for given japanese kanji representation.static Nengo
Nengo.ofRelatedGregorianYear(int year)
Obtains the official nengo for given related gregorian year.static Nengo
Nengo.ofRelatedGregorianYear(int year, Nengo.Selector selector)
Obtains the nengo for given related gregorian year and selector strategy.Methods in net.time4j.calendar that return types with arguments of type NengoModifier and TypeMethodDescriptionNengo.findNext()
Tries to find the next nengo in chronological order.Nengo.findPrevious()
Tries to find the previous nengo in chronological order.Nengo.list()
Obtains a list of all official nengos in chronological ascending order.Nengo.list(Nengo.Selector selector)
Obtains a list of all nengos in chronological ascending order selected by given selector.Nengo.parseRomaji(String romaji)
Tries to find suitable nengos for given representation in romaji.Nengo.stream()
Obtains a stream of all official nengos in chronological ascending order.Nengo.stream(Nengo.Selector selector)
Obtains a stream of all nengos in chronological ascending order selected by given selector.Methods in net.time4j.calendar with parameters of type NengoModifier and TypeMethodDescriptionstatic JapaneseCalendar
JapaneseCalendar.of(Nengo nengo, int yearOfNengo, EastAsianMonth month, int dayOfMonth)
Equivalent toJapaneseCalendar.of(nengo, yearOfNengo, month, dayOfMonth, Leniency.SMART)
.static JapaneseCalendar
JapaneseCalendar.of(Nengo nengo, int yearOfNengo, EastAsianMonth month, int dayOfMonth, Leniency leniency)
Creates a new instance of a Japanese calendar date.static JapaneseCalendar
JapaneseCalendar.ofGregorian(Nengo nengo, int yearOfNengo, int month, int dayOfMonth)
Creates a modern Japanese calendar for all dates since Meiji 6 (gregorian calendar rules).