Uses of Class
net.time4j.calendar.HijriCalendar
-
Uses of HijriCalendar in net.time4j.calendar
Modifier and TypeFieldDescriptionstatic StdCalendarElement<Integer,HijriCalendar>
HijriCalendar.BOUNDED_WEEK_OF_MONTH
Equivalent toCommonElements.boundedWeekOfMonth(HijriCalendar.family(), HijriCalendar.getDefaultWeekmodel())
.static StdCalendarElement<Integer,HijriCalendar>
HijriCalendar.BOUNDED_WEEK_OF_YEAR
Equivalent toCommonElements.boundedWeekOfYear(HijriCalendar.family(), HijriCalendar.getDefaultWeekmodel())
.static StdCalendarElement<Integer,HijriCalendar>
HijriCalendar.DAY_OF_MONTH
Represents the islamic day of month.static StdCalendarElement<Weekday,HijriCalendar>
HijriCalendar.DAY_OF_WEEK
Represents the islamic day of week.static StdCalendarElement<Integer,HijriCalendar>
HijriCalendar.DAY_OF_YEAR
Represents the islamic day of year.static StdCalendarElement<Weekday,HijriCalendar>
HijriCalendar.LOCAL_DAY_OF_WEEK
Equivalent toCommonElements.localDayOfWeek(HijriCalendar.family(), HijriCalendar.getDefaultWeekmodel())
.static StdCalendarElement<HijriMonth,HijriCalendar>
HijriCalendar.MONTH_OF_YEAR
Represents the islamic month.static StdCalendarElement<Integer,HijriCalendar>
HijriCalendar.WEEK_OF_MONTH
Equivalent toCommonElements.weekOfMonth(HijriCalendar.family(), HijriCalendar.getDefaultWeekmodel())
.static StdCalendarElement<Integer,HijriCalendar>
HijriCalendar.WEEK_OF_YEAR
Equivalent toCommonElements.weekOfYear(HijriCalendar.family(), HijriCalendar.getDefaultWeekmodel())
.static OrdinalWeekdayElement<HijriCalendar>
HijriCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.static StdCalendarElement<Integer,HijriCalendar>
HijriCalendar.YEAR_OF_ERA
Represents the islamic year.Modifier and TypeMethodDescriptionHijriCalendar.minus(int amount, HijriCalendar.Unit unit)
Subtracts given calendrical units from this instance.HijriCalendar.nextDay()
Convenient short form forwith(DAY_OF_MONTH.incremented())
.HijriCalendar.nextMonth()
Convenient short form forwith(MONTH_OF_YEAR.incremented())
.HijriCalendar.nextYear()
Convenient short form forwith(YEAR_OF_ERA.incremented())
.static HijriCalendar
HijriCalendar.nowInSystemTime(String variant, StartOfDay startOfDay)
Obtains the current calendar date in system time.static HijriCalendar
HijriCalendar.nowInSystemTime(VariantSource variantSource, StartOfDay startOfDay)
Obtains the current calendar date in system time.static HijriCalendar
Creates a new instance of a Hijri calendar date in given variant.static HijriCalendar
HijriCalendar.of(String variant, int hyear, HijriMonth hmonth, int hdom)
Creates a new instance of a Hijri calendar date in given variant.static HijriCalendar
HijriCalendar.of(VariantSource variantSource, int hyear, int hmonth, int hdom)
Creates a new instance of a Hijri calendar date in given variant.static HijriCalendar
HijriCalendar.of(VariantSource variantSource, int hyear, HijriMonth hmonth, int hdom)
Creates a new instance of a Hijri calendar date in given variant.static HijriCalendar
HijriCalendar.ofUmalqura(int hyear, int hmonth, int hdom)
Creates a new instance of a Hijri calendar date in the variant "islamic-umalqura" used in Saudi-Arabia.static HijriCalendar
HijriCalendar.ofUmalqura(int hyear, HijriMonth hmonth, int hdom)
Creates a new instance of a Hijri calendar date in the variant "islamic-umalqura" used in Saudi-Arabia.HijriCalendar.plus(int amount, HijriCalendar.Unit unit)
Adds given calendrical units to this instance.Modifier and TypeMethodDescriptionCreates a new local timestamp with this date and given wall time.HijriCalendar.atTime(int hour, int minute)
Is equivalent toat(PlainTime.of(hour, minute))
.static CalendarFamily<HijriCalendar>
HijriCalendar.family()
Returns the associated calendar family.Modifier and TypeMethodDescriptionint
HijriCalendar.Unit.between(HijriCalendar start, HijriCalendar end, String variant)
Calculates the difference between given islamic dates in this unit.int
HijriCalendar.Unit.between(HijriCalendar start, HijriCalendar end, VariantSource variantSource)
Equivalent tobetween(start, end, variantSource.getVariant())
.boolean
HijriMonth.test(HijriCalendar context)