com.ibm.icu.util

Class CopticCalendar

public final class CopticCalendar extends CECalendar

Implement the Coptic calendar system.

CopticCalendar usually should be instantiated using getInstance passing in a ULocale with the tag "@calendar=coptic".

See Also: Calendar

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

Field Summary
static intAMSHIR
Constant for Μεϣιρ/ﺮﻴﺸﻣأ, the 6th month of the Coptic year.
static intBABA
Constant for Παοπι/ﻪﺑﺎﺑ, the 2nd month of the Coptic year.
static intBARAMHAT
Constant for Παρεμϩατ/تﺎﻬﻣﺮﺑ, the 7th month of the Coptic year.
static intBARAMOUDA
Constant for Φαρμοθι/هدﻮﻣﺮﺑ, the 8th month of the Coptic year.
static intBASHANS
Constant for Παϣαν/ﺲﻨﺸﺑ, the 9th month of the Coptic year.
static intEPEP
Constant for Επηπ/ﺐﻴﺑأ, the 11th month of the Coptic year.
static intHATOR
Constant for Αθορ/رﻮﺗﺎﻫ, the 3rd month of the Coptic year.
static intKIAHK
Constant for Χοιακ/ﻚﻬﻴﻛ, the 4th month of the Coptic year.
static intMESRA
Constant for Μεϲωρη/ىﺮﺴﻣ, the 12th month of the Coptic year.
static intNASIE
Constant for Πικογϫι μαβοτ/ﺮﻴﻐﺼﻟا ﺮﻬﺸﻟا, the 13th month of the Coptic year.
static intPAONA
Constant for Παωνι/ﻪﻧؤﻮﺑ, the 10th month of the Coptic year.
static intTOBA
Constant for Τωβι/طﻮﺒﻫ, the 5th month of the Coptic year.
static intTOUT
Constant for ωογτ/تﻮﺗ, the 1st month of the Coptic year.
Constructor Summary
CopticCalendar()
Constructs a default CopticCalendar using the current time in the default time zone with the default locale.
CopticCalendar(TimeZone zone)
Constructs a CopticCalendar based on the current time in the given time zone with the default locale.
CopticCalendar(Locale aLocale)
Constructs a CopticCalendar based on the current time in the default time zone with the given locale.
CopticCalendar(ULocale locale)
Constructs a CopticCalendar based on the current time in the default time zone with the given locale.
CopticCalendar(TimeZone zone, Locale aLocale)
Constructs a CopticCalendar based on the current time in the given time zone with the given locale.
CopticCalendar(TimeZone zone, ULocale locale)
Constructs a CopticCalendar based on the current time in the given time zone with the given locale.
CopticCalendar(int year, int month, int date)
Constructs a CopticCalendar with the given date set in the default time zone with the default locale.
CopticCalendar(Date date)
Constructs a CopticCalendar with the given date set in the default time zone with the default locale.
CopticCalendar(int year, int month, int date, int hour, int minute, int second)
Constructs a CopticCalendar with the given date and time set for the default time zone with the default locale.
Method Summary
static intcopticToJD(long year, int month, int date)
Convert an Coptic year, month, and day to a Julian day.
static Integer[]getDateFromJD(int julianDay)
StringgetType()
Return the current Calendar type.

Field Detail

AMSHIR

public static final int AMSHIR
Constant for Μεϣιρ/ﺮﻴﺸﻣأ, the 6th month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

BABA

public static final int BABA
Constant for Παοπι/ﻪﺑﺎﺑ, the 2nd month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

BARAMHAT

public static final int BARAMHAT
Constant for Παρεμϩατ/تﺎﻬﻣﺮﺑ, the 7th month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

BARAMOUDA

public static final int BARAMOUDA
Constant for Φαρμοθι/هدﻮﻣﺮﺑ, the 8th month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

BASHANS

public static final int BASHANS
Constant for Παϣαν/ﺲﻨﺸﺑ, the 9th month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

EPEP

public static final int EPEP
Constant for Επηπ/ﺐﻴﺑأ, the 11th month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

HATOR

public static final int HATOR
Constant for Αθορ/رﻮﺗﺎﻫ, the 3rd month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

KIAHK

public static final int KIAHK
Constant for Χοιακ/ﻚﻬﻴﻛ, the 4th month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

MESRA

public static final int MESRA
Constant for Μεϲωρη/ىﺮﺴﻣ, the 12th month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

NASIE

public static final int NASIE
Constant for Πικογϫι μαβοτ/ﺮﻴﻐﺼﻟا ﺮﻬﺸﻟا, the 13th month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

PAONA

public static final int PAONA
Constant for Παωνι/ﻪﻧؤﻮﺑ, the 10th month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

TOBA

public static final int TOBA
Constant for Τωβι/طﻮﺒﻫ, the 5th month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

TOUT

public static final int TOUT
Constant for ωογτ/تﻮﺗ, the 1st month of the Coptic year.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

Constructor Detail

CopticCalendar

public CopticCalendar()
Constructs a default CopticCalendar using the current time in the default time zone with the default locale.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

CopticCalendar

public CopticCalendar(TimeZone zone)
Constructs a CopticCalendar based on the current time in the given time zone with the default locale.

Parameters: zone The time zone for the new calendar.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

CopticCalendar

public CopticCalendar(Locale aLocale)
Constructs a CopticCalendar based on the current time in the default time zone with the given locale.

Parameters: aLocale The locale for the new calendar.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

CopticCalendar

public CopticCalendar(ULocale locale)
Constructs a CopticCalendar based on the current time in the default time zone with the given locale.

Parameters: locale The icu locale for the new calendar.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

CopticCalendar

public CopticCalendar(TimeZone zone, Locale aLocale)
Constructs a CopticCalendar based on the current time in the given time zone with the given locale.

Parameters: zone The time zone for the new calendar. aLocale The locale for the new calendar.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

CopticCalendar

public CopticCalendar(TimeZone zone, ULocale locale)
Constructs a CopticCalendar based on the current time in the given time zone with the given locale.

Parameters: zone The time zone for the new calendar. locale The icu locale for the new calendar.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

CopticCalendar

public CopticCalendar(int year, int month, int date)
Constructs a CopticCalendar with the given date set in the default time zone with the default locale.

Parameters: year The value used to set the calendar's YEAR time field. month The value used to set the calendar's MONTH time field. The value is 0-based. e.g., 0 for Tout. date The value used to set the calendar's DATE time field.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

CopticCalendar

public CopticCalendar(Date date)
Constructs a CopticCalendar with the given date set in the default time zone with the default locale.

Parameters: date The date to which the new calendar is set.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

CopticCalendar

public CopticCalendar(int year, int month, int date, int hour, int minute, int second)
Constructs a CopticCalendar with the given date and time set for the default time zone with the default locale.

Parameters: year The value used to set the calendar's YEAR time field. month The value used to set the calendar's MONTH time field. The value is 0-based. e.g., 0 for Tout. date The value used to set the calendar's DATE time field. hour The value used to set the calendar's HOUR_OF_DAY time field. minute The value used to set the calendar's MINUTE time field. second The value used to set the calendar's SECOND time field.

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

Method Detail

copticToJD

public static int copticToJD(long year, int month, int date)
Convert an Coptic year, month, and day to a Julian day.

Parameters: year the year month the month date the day

UNKNOWN: ICU 3.4 This API might change or be removed in a future release.

getDateFromJD

public static Integer[] getDateFromJD(int julianDay)

Deprecated: This API is ICU internal only.

UNKNOWN: ICU 3.4

getType

public String getType()

Deprecated: This API is ICU internal only.

Return the current Calendar type.

Returns: type of calendar (gregorian, etc.)

UNKNOWN: ICU 3.4

Copyright (c) 2007 IBM Corporation and others.