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
| Value | Description |
|---|---|
GREGORIAN | The Gregorian calendar. |
HIJRI | The Hijri Lunar calendar. |
HEBREW | The Hebrew Lunar calendar. |
SAKA_ERA | The Saka Era calendar. |
UM_AL_QURA | The Um-al-Qura calendar. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of CalendarType values. |
Methods
| Signature | Description |
|---|---|
getName(calendarType: int) → String | Returns JAVA_STYLE string representation of integer CalendarType value. |
toString(calendarType: int) → String | Returns DotNetStyle string representation of integer CalendarType value. |
fromName(calendarTypeName: String) → int | Returns integer representation by CalendarType name. |
getValues() → int[] | Returns array of CalendarType values. |