CopticCalendar usually should be instantiated using
com. passing in a ULocale
with the tag "@calendar=coptic".
com.ibm.icu.util.Calendar
| Modifier and Type | Field and Description |
|---|---|
| public static final int | AMSHIR
Constant for Μεϣιρ / ﺮﻴﺸﻣأ, the 6th month of the Coptic year. |
| public static final int | BABA
Constant for Παοπι / ﻪﺑﺎﺑ, the 2nd month of the Coptic year. |
| public static final int | BARAMHAT
Constant for Παρεμϩατ / تﺎﻬﻣﺮﺑ, the 7th month of the Coptic year. |
| public static final int | BARAMOUDA
Constant for Φαρμοθι / هدﻮﻣﺮﺑ, the 8th month of the Coptic year. |
| public static final int | BASHANS
Constant for Παϣαν / ﺲﻨﺸﺑ;, the 9th month of the Coptic year. |
| private static final int | |
| private static final int | |
| public static final int | EPEP
Constant for Επηπ / ﺐﻴﺑأ, the 11th month of the Coptic year. |
| public static final int | HATOR
Constant for Αθορ / رﻮﺗﺎﻫ, the 3rd month of the Coptic year. |
| private static final int | |
| public static final int | KIAHK
Constant for Χοιακ / ﻚﻬﻴﻛ;, the 4th month of the Coptic year. |
| public static final int | MESRA
Constant for Μεϲωρη / ىﺮﺴﻣ, the 12th month of the Coptic year. |
| public static final int | NASIE
Constant for Πικογϫι μαβοτ / ﺮﻴﻐﺼﻟاﺮﻬﺸﻟا, the 13th month of the Coptic year. |
| public static final int | PAONA
Constant for Παωνι / ﻪﻧؤﻮﺑ, the 10th month of the Coptic year. |
| private static final long | |
| public static final int | TOBA
Constant for Τωβι / طﻮﺒﻫ, the 5th month of the Coptic year. |
| public static final int | TOUT
Constant for ωογτ / تﻮﺗ, the 1st month of the Coptic year. |
| Access | Constructor and Description |
|---|---|
| public | CopticCalendar()
Constructs a default |
| public | CopticCalendar(TimeZone
The time zone for the new calendar. zone)Constructs a |
| public | CopticCalendar(Locale
The locale for the new calendar. aLocale)Constructs a |
| public | CopticCalendar(ULocale
The icu locale for the new calendar. locale)Constructs a |
| public | CopticCalendar(TimeZone
The time zone for the new calendar. zone, Locale The locale for the new calendar. aLocale)Constructs a |
| public | CopticCalendar(TimeZone
The time zone for the new calendar. zone, ULocale The icu locale for the new calendar. locale)Constructs a |
| public | CopticCalendar(int
The value used to set the calendar's year, int YEAR time field.The value used to set the calendar's month, int MONTH time field.
The value is 0-based. e.g., 0 for Tout.The value used to set the calendar's date)DATE time field.Constructs a |
| public | CopticCalendar(Date
The date to which the new calendar is set. date)Constructs a |
| public | CopticCalendar(int
The value used to set the calendar's year, int YEAR time field.The value used to set the calendar's month, int MONTH time field.
The value is 0-based. e.g., 0 for Tout.The value used to set the calendar's date, int DATE time field.The value used to set the calendar's hour, int HOUR_OF_DAY time field.The value used to set the calendar's minute, int MINUTE time field.The value used to set the calendar's second)SECOND time field.Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public static int | copticToJD(long
the year year, int the month month, int the day date)Convert an Coptic year, month, and day to a Julian day. |
| protected int | getJDEpochOffset()
Implements abstract com.
Deprecated
This API is ICU internal only.
The Coptic and Ethiopic calendars differ only in their epochs.
|
| public String | |
| protected void | handleComputeFields(int julianDay)
Overrides com.
Deprecated
This API is ICU internal only.
Subclasses may override this method to compute several fields
specific to each calendar system.
|
| protected int | handleGetExtendedYear()
Implements abstract com.
Deprecated
This API is ICU internal only.
Returns the extended year defined by the current fields.
|
| AMSHIR | back to summary |
|---|---|
| public static final int AMSHIR Constant for Μεϣιρ / ﺮﻴﺸﻣأ, the 6th month of the Coptic year.
| |
| BABA | back to summary |
|---|---|
| public static final int BABA Constant for Παοπι / ﻪﺑﺎﺑ, the 2nd month of the Coptic year.
| |
| BARAMHAT | back to summary |
|---|---|
| public static final int BARAMHAT Constant for Παρεμϩατ / تﺎﻬﻣﺮﺑ, the 7th month of the Coptic year.
| |
| BARAMOUDA | back to summary |
|---|---|
| public static final int BARAMOUDA Constant for Φαρμοθι / هدﻮﻣﺮﺑ, the 8th month of the Coptic year.
| |
| BASHANS | back to summary |
|---|---|
| public static final int BASHANS Constant for Παϣαν / ﺲﻨﺸﺑ;, the 9th month of the Coptic year.
| |
| BCE | back to summary |
|---|---|
| private static final int BCE | |
| CE | back to summary |
|---|---|
| private static final int CE | |
| EPEP | back to summary |
|---|---|
| public static final int EPEP Constant for Επηπ / ﺐﻴﺑأ, the 11th month of the Coptic year.
| |
| HATOR | back to summary |
|---|---|
| public static final int HATOR Constant for Αθορ / رﻮﺗﺎﻫ, the 3rd month of the Coptic year.
| |
| JD_EPOCH_OFFSET | back to summary |
|---|---|
| private static final int JD_EPOCH_OFFSET | |
| KIAHK | back to summary |
|---|---|
| public static final int KIAHK Constant for Χοιακ / ﻚﻬﻴﻛ;, the 4th month of the Coptic year.
| |
| MESRA | back to summary |
|---|---|
| public static final int MESRA Constant for Μεϲωρη / ىﺮﺴﻣ, the 12th month of the Coptic year.
| |
| NASIE | back to summary |
|---|---|
| public static final int NASIE Constant for Πικογϫι μαβοτ / ﺮﻴﻐﺼﻟاﺮﻬﺸﻟا, the 13th month of the Coptic year.
| |
| PAONA | back to summary |
|---|---|
| public static final int PAONA Constant for Παωνι / ﻪﻧؤﻮﺑ, the 10th month of the Coptic year.
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TOBA | back to summary |
|---|---|
| public static final int TOBA Constant for Τωβι / طﻮﺒﻫ, the 5th month of the Coptic year.
| |
| TOUT | back to summary |
|---|---|
| public static final int TOUT Constant for ωογτ / تﻮﺗ, the 1st month of the Coptic year.
| |
| CopticCalendar | back to summary |
|---|---|
| public CopticCalendar() Constructs a default
| |
| CopticCalendar | back to summary |
|---|---|
| public CopticCalendar(TimeZone zone) Constructs a | |
| CopticCalendar | back to summary |
|---|---|
| public CopticCalendar(Locale aLocale) Constructs a | |
| CopticCalendar | back to summary |
|---|---|
| public CopticCalendar(ULocale locale) Constructs a | |
| CopticCalendar | back to summary |
|---|---|
| public CopticCalendar(TimeZone zone, Locale aLocale) Constructs a | |
| CopticCalendar | back to summary |
|---|---|
| public CopticCalendar(TimeZone zone, ULocale locale) Constructs a | |
| CopticCalendar | back to summary |
|---|---|
| public CopticCalendar(int year, int month, int date) Constructs a | |
| CopticCalendar | back to summary |
|---|---|
| public CopticCalendar(Date date) Constructs a | |
| CopticCalendar | back to summary |
|---|---|
| public CopticCalendar(int year, int month, int date, int hour, int minute, int second) Constructs a
| |
| copticToJD | back to summary |
|---|---|
| public static int copticToJD(long year, int month, int date) Convert an Coptic year, month, and day to a Julian day.
| |
| getJDEpochOffset | back to summary |
|---|---|
| protected int getJDEpochOffset() Implements abstract com. Doc from com. Deprecated This API is ICU internal only. The Coptic and Ethiopic calendars differ only in their epochs. This method must be implemented by CECalendar subclasses to return the date offset from Julian.
| |
| getType | back to summary |
|---|---|
| public String getType() Overrides com. Doc from com. ICU See type="old type name" for the calendar attribute of locale IDs at http://www.unicode.org/reports/tr35/#Key_Type_Definitions | |
| handleComputeFields | back to summary |
|---|---|
| protected void handleComputeFields(int julianDay) Overrides com. Doc from com. Deprecated This API is ICU internal only. Subclasses may override this method to compute several fields specific to each calendar system. These are:
In addition, subclasses should compute any subclass-specific fields, that is, fields from BASE_FIELD_COUNT to getFieldCount() - 1. The default implementation in
| |
| handleGetExtendedYear | back to summary |
|---|---|
| protected int handleGetExtendedYear() Implements abstract com. Doc from com. Deprecated This API is ICU internal only. Returns the extended year defined by the current fields. This will use the EXTENDED_YEAR field or the YEAR and supra-year fields (such as ERA) specific to the calendar system, depending on which set of fields is newer.
| |