Uses of Class
net.time4j.calendar.PersianCalendar
-
Uses of PersianCalendar in net.time4j.calendar
Modifier and TypeFieldDescriptionstatic StdCalendarElement<Integer,PersianCalendar>
PersianCalendar.BOUNDED_WEEK_OF_MONTH
Equivalent toCommonElements.boundedWeekOfMonth(PersianCalendar.axis(), PersianCalendar.getDefaultWeekmodel())
.static StdCalendarElement<Integer,PersianCalendar>
PersianCalendar.BOUNDED_WEEK_OF_YEAR
Equivalent toCommonElements.boundedWeekOfYear(PersianCalendar.axis(), PersianCalendar.getDefaultWeekmodel())
.static StdCalendarElement<Integer,PersianCalendar>
PersianCalendar.DAY_OF_MONTH
Represents the Persian day of month.static StdCalendarElement<Weekday,PersianCalendar>
PersianCalendar.DAY_OF_WEEK
Represents the Persian day of week.static StdCalendarElement<Integer,PersianCalendar>
PersianCalendar.DAY_OF_YEAR
Represents the Persian day of year.static StdCalendarElement<Weekday,PersianCalendar>
PersianCalendar.LOCAL_DAY_OF_WEEK
Equivalent toCommonElements.localDayOfWeek(PersianCalendar.axis(), PersianCalendar.getDefaultWeekmodel())
.PersianCalendar.MONTH_OF_YEAR
Represents the Persian month.static StdCalendarElement<Integer,PersianCalendar>
PersianCalendar.WEEK_OF_MONTH
Equivalent toCommonElements.weekOfMonth(PersianCalendar.axis(), PersianCalendar.getDefaultWeekmodel())
.static StdCalendarElement<Integer,PersianCalendar>
PersianCalendar.WEEK_OF_YEAR
Equivalent toCommonElements.weekOfYear(PersianCalendar.axis(), PersianCalendar.getDefaultWeekmodel())
.static OrdinalWeekdayElement<PersianCalendar>
PersianCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static StdCalendarElement<Integer,PersianCalendar>
PersianCalendar.YEAR_OF_ERA
Represents the Persian year.Modifier and TypeMethodDescriptionstatic PersianCalendar
PersianCalendar.nowInSystemTime()
Obtains the current calendar date in system time.static PersianCalendar
PersianCalendar.of(int pyear, int pmonth, int pdom)
Creates a new instance of a Persian calendar date.static PersianCalendar
PersianCalendar.of(int pyear, PersianMonth pmonth, int pdom)
Creates a new instance of a Persian calendar date.Modifier and TypeMethodDescriptionCreates a new local timestamp with this date and given wall time.PersianCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.static TimeAxis<PersianCalendar.Unit,PersianCalendar>
PersianCalendar.axis()
Returns the associated time axis.Modifier and TypeMethodDescriptionint
PersianCalendar.Unit.between(PersianCalendar start, PersianCalendar end)
Calculates the difference between given Persian dates in this unit.boolean
PersianMonth.test(PersianCalendar context)