SdtCalendarType
Overview
SdtCalendarType is an enum in Aspose.Words FOSS for Java.
Specifies the possible types of calendars which can be used to specify CalendarType in an Office Open XML document.
Edition status of its 20 listed members (a property and its accessor methods are listed separately, overloads once): 20 not yet exercised by a verified example.
This enum declares 4 methods for SdtCalendarType objects in Java programs.
Available methods include: fromName, getName, getValues, toString.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: values.
Values
| Value | Description |
|---|---|
DEFAULT | Used as default value in OOXML. |
GREGORIAN | Specifies that the Gregorian calendar, as defined in ISO 8601, shall be used. |
GREGORIAN_ARABIC | Specifies that the Gregorian calendar, as defined in ISO 8601, shall be used. |
GREGORIAN_ME_FRENCH | Specifies that the Gregorian calendar, as defined in ISO 8601, shall be used. |
GREGORIAN_US | Specifies that the Gregorian calendar, as defined in ISO 8601, shall be used. |
GREGORIAN_XLIT_ENGLISH | Specifies that the Gregorian calendar, as defined in ISO 8601, shall be used. |
GREGORIAN_XLIT_FRENCH | Specifies that the Gregorian calendar, as defined in ISO 8601, shall be used. |
HEBREW | Specifies that the Hebrew lunar calendar, as described by the Gauss formula for Passover [CITATION] and The Complete Restatement of Oral Law (Mishneh Torah),shall be used. |
HIJRI | Specifies that the Hijri lunar calendar, as described by the Kingdom of Saudi Arabia, Ministry of Islamic Affairs, Endowments, Da‘wah and Guidance, shall be used. |
JAPAN | Specifies that the Japanese Emperor Era calendar, as described by Japanese Industrial Standard JIS X 0301, shall be used. |
KOREA | Specifies that the Korean Tangun Era calendar, as described by Korean Law Enactment No. 4, shall be used. |
NONE | Specifies that no calendar should be used. |
SAKA | Specifies that the Saka Era calendar, as described by the Calendar Reform Committee of India, as part of the Indian Ephemeris and Nautical Almanac, shall be used. |
TAIWAN | Specifies that the Taiwanese calendar, as defined by the Chinese National Standard CNS 7648, shall be used. |
THAI | Specifies that the Thai calendar, as defined by the Royal Decree of H.M. King Vajiravudh (Rama VI) in Royal Gazette B. E. 2456 (1913 A.D.) and by the decree of Prime Minister Phibunsongkhram (1941 A.D.) to start the year on the Gregorian January 1 and to map year zero to Gregorian year 543 B.C., shall be used. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of SdtCalendarType values. |
Methods
| Signature | Description |
|---|---|
getName(sdtCalendarType: int) → String | Returns JAVA_STYLE string representation of integer SdtCalendarType value. |
toString(sdtCalendarType: int) → String | Returns DotNetStyle string representation of integer SdtCalendarType value. |
fromName(sdtCalendarTypeName: String) → int | Returns integer representation by SdtCalendarType name. |
getValues() → int[] | Returns array of SdtCalendarType values. |