SdtCalendarType

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

ValueDescription
DEFAULTUsed as default value in OOXML.
GREGORIANSpecifies that the Gregorian calendar, as defined in ISO 8601, shall be used.
GREGORIAN_ARABICSpecifies that the Gregorian calendar, as defined in ISO 8601, shall be used.
GREGORIAN_ME_FRENCHSpecifies that the Gregorian calendar, as defined in ISO 8601, shall be used.
GREGORIAN_USSpecifies that the Gregorian calendar, as defined in ISO 8601, shall be used.
GREGORIAN_XLIT_ENGLISHSpecifies that the Gregorian calendar, as defined in ISO 8601, shall be used.
GREGORIAN_XLIT_FRENCHSpecifies that the Gregorian calendar, as defined in ISO 8601, shall be used.
HEBREWSpecifies 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.
HIJRISpecifies 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.
JAPANSpecifies that the Japanese Emperor Era calendar, as described by Japanese Industrial Standard JIS X 0301, shall be used.
KOREASpecifies that the Korean Tangun Era calendar, as described by Korean Law Enactment No. 4, shall be used.
NONESpecifies that no calendar should be used.
SAKASpecifies 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.
TAIWANSpecifies that the Taiwanese calendar, as defined by the Chinese National Standard CNS 7648, shall be used.
THAISpecifies 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

NameTypeAccessDescription
valuesint[]ReadReturns array of SdtCalendarType values.

Methods

SignatureDescription
getName(sdtCalendarType: int) → StringReturns JAVA_STYLE string representation of integer SdtCalendarType value.
toString(sdtCalendarType: int) → StringReturns DotNetStyle string representation of integer SdtCalendarType value.
fromName(sdtCalendarTypeName: String) → intReturns integer representation by SdtCalendarType name.
getValues() → int[]Returns array of SdtCalendarType values.

See Also