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 NengoNengo.HEISEIHeisei is valid from 1989-01-08 until 2019-04-30 (emperor Akihito).static NengoNengo.MEIJIMeji is valid from year 1868 until 1912-07-29.static NengoNengo.NEWESTThe newest known nengo.static NengoNengo.REIWAReiwa is valid from 2019-05-01 onwards (emperor Naruhito).static NengoNengo.SHOWAShōwa is valid from 1926-12-25 until 1989-01-07.static NengoNengo.TAISHOTaishō 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.ERARepresents the Japanese era (nengo).Methods in net.time4j.calendar that return NengoModifier and TypeMethodDescriptionJapaneseCalendar.getEra()Yields the Japanese era (nengo).static NengoTries to find a suitable nengo for given japanese kanji representation.static NengoNengo.ofRelatedGregorianYear(int year)Obtains the official nengo for given related gregorian year.static NengoNengo.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 JapaneseCalendarJapaneseCalendar.of(Nengo nengo, int yearOfNengo, EastAsianMonth month, int dayOfMonth)Equivalent toJapaneseCalendar.of(nengo, yearOfNengo, month, dayOfMonth, Leniency.SMART).static JapaneseCalendarJapaneseCalendar.of(Nengo nengo, int yearOfNengo, EastAsianMonth month, int dayOfMonth, Leniency leniency)Creates a new instance of a Japanese calendar date.static JapaneseCalendarJapaneseCalendar.ofGregorian(Nengo nengo, int yearOfNengo, int month, int dayOfMonth)Creates a modern Japanese calendar for all dates since Meiji 6 (gregorian calendar rules).