public class UmmalquraCalendar extends GregorianCalendar
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
hFields
The calendar field values for the currently set time for this calendar.
|
static int |
JUMADA_AWWAL
Value of the
Calendar.MONTH field indicating the
fifth month of the year in the Ummalqura calendar. |
static int |
JUMADA_THANI
Value of the
Calendar.MONTH field indicating the
sixth month of the year in the Ummalqura calendar. |
static int |
MUHARRAM
Value of the
Calendar.MONTH field indicating the
first month of the year in the Ummalqura calendar. |
static int |
RABI_AWWAL
Value of the
Calendar.MONTH field indicating the
third month of the year in the Ummalqura calendar. |
static int |
RABI_THANI
Value of the
Calendar.MONTH field indicating the
fourth month of the year in the Ummalqura calendar. |
static int |
RAJAB
Value of the
Calendar.MONTH field indicating the
seventh month of the year in the Ummalqura calendar. |
static int |
RAMADHAN
Value of the
Calendar.MONTH field indicating the
ninth month of the year in the Ummalqura calendar. |
static int |
SAFAR
Value of the
Calendar.MONTH field indicating the
second month of the year in the Ummalqura calendar. |
static int |
SHAABAN
Value of the
Calendar.MONTH field indicating the
eighth month of the year in the Ummalqura calendar. |
static int |
SHAWWAL
Value of the
Calendar.MONTH field indicating the
tenth month of the year in the Ummalqura calendar. |
static int |
THUL_Hijjah
Value of the
Calendar.MONTH field indicating the
twelfth month of the year in the Ummalqura calendar. |
static int |
THUL_QIDAH
Value of the
Calendar.MONTH field indicating the
eleventh month of the year in the Ummalqura calendar. |
AD, BCALL_STYLES, AM, AM_PM, APRIL, areFieldsSet, AUGUST, DATE, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_WEEK_IN_MONTH, DAY_OF_YEAR, DECEMBER, DST_OFFSET, ERA, FEBRUARY, FIELD_COUNT, fields, FRIDAY, HOUR, HOUR_OF_DAY, isSet, isTimeSet, JANUARY, JULY, JUNE, LONG, MARCH, MAY, MILLISECOND, MINUTE, MONDAY, MONTH, NOVEMBER, OCTOBER, PM, SATURDAY, SECOND, SEPTEMBER, SHORT, SUNDAY, THURSDAY, time, TUESDAY, UNDECIMBER, WEDNESDAY, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR, ZONE_OFFSET| Constructor and Description |
|---|
UmmalquraCalendar()
Constructs a default
UmmalquraCalendar using the current time
in the default time zone with the default locale. |
UmmalquraCalendar(int year,
int month,
int dayOfMonth)
Constructs a
UmmalquraCalendar with the given date set
in the default time zone with the default locale. |
UmmalquraCalendar(int year,
int month,
int dayOfMonth,
int hourOfDay,
int minute)
Constructs a
UmmalquraCalendar with the given date
and time set for the default time zone with the default locale. |
UmmalquraCalendar(int year,
int month,
int dayOfMonth,
int hourOfDay,
int minute,
int second)
Constructs a
UmmalquraCalendar with the given date
and time set for the default time zone with the default locale. |
UmmalquraCalendar(Locale aLocale)
Constructs a
UmmalquraCalendar based on the current time
in the default time zone with the given locale. |
UmmalquraCalendar(TimeZone zone,
Locale aLocale)
Constructs a
UmmalquraCalendar based on the current time
in the given time zone with the given locale. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeFields() |
boolean |
equals(Object obj) |
int |
get(int field) |
String |
getDisplayName(int field,
int style,
Locale locale) |
Map<String,Integer> |
getDisplayNames(int field,
int style,
Locale locale) |
int |
hashCode() |
void |
set(int field,
int value) |
add, clone, computeTime, getActualMaximum, getActualMinimum, getGreatestMinimum, getGregorianChange, getLeastMaximum, getMaximum, getMinimum, getTimeZone, getWeeksInWeekYear, getWeekYear, isLeapYear, isWeekDateSupported, roll, roll, setGregorianChange, setTimeZone, setWeekDateafter, before, clear, clear, compareTo, complete, getAvailableLocales, getFirstDayOfWeek, getInstance, getInstance, getInstance, getInstance, getMinimalDaysInFirstWeek, getTime, getTimeInMillis, internalGet, isLenient, isSet, set, set, set, setFirstDayOfWeek, setLenient, setMinimalDaysInFirstWeek, setTime, setTimeInMillis, toStringpublic static final int MUHARRAM
Calendar.MONTH field indicating the
first month of the year in the Ummalqura calendar.public static final int SAFAR
Calendar.MONTH field indicating the
second month of the year in the Ummalqura calendar.public static final int RABI_AWWAL
Calendar.MONTH field indicating the
third month of the year in the Ummalqura calendar.public static final int RABI_THANI
Calendar.MONTH field indicating the
fourth month of the year in the Ummalqura calendar.public static final int JUMADA_AWWAL
Calendar.MONTH field indicating the
fifth month of the year in the Ummalqura calendar.public static final int JUMADA_THANI
Calendar.MONTH field indicating the
sixth month of the year in the Ummalqura calendar.public static final int RAJAB
Calendar.MONTH field indicating the
seventh month of the year in the Ummalqura calendar.public static final int SHAABAN
Calendar.MONTH field indicating the
eighth month of the year in the Ummalqura calendar.public static final int RAMADHAN
Calendar.MONTH field indicating the
ninth month of the year in the Ummalqura calendar.public static final int SHAWWAL
Calendar.MONTH field indicating the
tenth month of the year in the Ummalqura calendar.public static final int THUL_QIDAH
Calendar.MONTH field indicating the
eleventh month of the year in the Ummalqura calendar.public static final int THUL_Hijjah
Calendar.MONTH field indicating the
twelfth month of the year in the Ummalqura calendar.protected int[] hFields
FIELD_COUNT integers, with index values
ERA through DST_OFFSET.public UmmalquraCalendar()
UmmalquraCalendar using the current time
in the default time zone with the default locale.public UmmalquraCalendar(Locale aLocale)
UmmalquraCalendar based on the current time
in the default time zone with the given locale.aLocale - the given locale.public UmmalquraCalendar(TimeZone zone, Locale aLocale)
UmmalquraCalendar based on the current time
in the given time zone with the given locale.zone - the given time zone.aLocale - the given locale.public UmmalquraCalendar(int year,
int month,
int dayOfMonth)
UmmalquraCalendar with the given date set
in the default time zone with the default locale.year - the value used to set the YEAR calendar field in the calendar.month - the value used to set the MONTH calendar field in the calendar.
Month value is 0-based. e.g., 0 for Muharram.dayOfMonth - the value used to set the DAY_OF_MONTH calendar field in the calendar.public UmmalquraCalendar(int year,
int month,
int dayOfMonth,
int hourOfDay,
int minute)
UmmalquraCalendar with the given date
and time set for the default time zone with the default locale.year - the value used to set the YEAR calendar field in the calendar.month - the value used to set the MONTH calendar field in the calendar.
Month value is 0-based. e.g., 0 for Muharram.dayOfMonth - the value used to set the DAY_OF_MONTH calendar field in the calendar.hourOfDay - the value used to set the HOUR_OF_DAY calendar field
in the calendar.minute - the value used to set the MINUTE calendar field
in the calendar.public UmmalquraCalendar(int year,
int month,
int dayOfMonth,
int hourOfDay,
int minute,
int second)
UmmalquraCalendar with the given date
and time set for the default time zone with the default locale.year - the value used to set the YEAR calendar field in the calendar.month - the value used to set the MONTH calendar field in the calendar.
Month value is 0-based. e.g., 0 for Muharram.dayOfMonth - the value used to set the DAY_OF_MONTH calendar field in the calendar.hourOfDay - the value used to set the HOUR_OF_DAY calendar field
in the calendar.minute - the value used to set the MINUTE calendar field
in the calendar.second - the value used to set the SECOND calendar field
in the calendar.public String getDisplayName(int field, int style, Locale locale)
getDisplayName in class Calendarpublic Map<String,Integer> getDisplayNames(int field, int style, Locale locale)
getDisplayNames in class Calendarpublic boolean equals(Object obj)
equals in class GregorianCalendarpublic int hashCode()
hashCode in class GregorianCalendarprotected void computeFields()
computeFields in class GregorianCalendarCopyright © 2015. All rights reserved.