Uses of Class
net.time4j.calendar.JapaneseCalendar
-
Uses of JapaneseCalendar in net.time4j.calendar
Modifier and TypeFieldDescriptionstatic StdCalendarElement<Integer,JapaneseCalendar>
JapaneseCalendar.DAY_OF_MONTH
Represents the Japanese day of month.static StdCalendarElement<Weekday,JapaneseCalendar>
JapaneseCalendar.DAY_OF_WEEK
Represents the Japanese day of week.static StdCalendarElement<Integer,JapaneseCalendar>
JapaneseCalendar.DAY_OF_YEAR
Represents the Japanese day of year.static StdCalendarElement<Integer,JapaneseCalendar>
JapaneseCalendar.MONTH_AS_ORDINAL
Represents the ordinal index of a Japanese month.JapaneseCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static StdCalendarElement<Integer,JapaneseCalendar>
JapaneseCalendar.YEAR_OF_ERA
Represents the Japanese year associated with a nengo.Modifier and TypeMethodDescriptionstatic JapaneseCalendar
JapaneseCalendar.nowInSystemTime()
Obtains the current calendar date in system time.static 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).Modifier and TypeMethodDescriptionCreates a new local timestamp with this date and given wall time.JapaneseCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.JapaneseCalendar.axis()
Returns the associated time axis.Modifier and TypeMethodDescriptionlong
JapaneseCalendar.Unit.between(JapaneseCalendar start, JapaneseCalendar end)
Calculates the difference between given Japanese dates in this unit.int
JapaneseCalendar.compareTo(JapaneseCalendar other)
Compares first by the temporal position then by nengo position.