CalendarType

Overview

CalendarType is an enum in Aspose.Words FOSS for Java.

Specifies the type of a calendar.

Edition status of its 10 listed members (a property and its accessor methods are listed separately, overloads once): 10 not yet exercised by a verified example.

This enum declares 4 methods for CalendarType 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
GREGORIANThe Gregorian calendar.
HIJRIThe Hijri Lunar calendar.
HEBREWThe Hebrew Lunar calendar.
SAKA_ERAThe Saka Era calendar.
UM_AL_QURAThe Um-al-Qura calendar.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of CalendarType values.

Methods

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

See Also