Package net.time4j.calendar.hindu
Enum Class AryaSiddhanta
- All Implemented Interfaces:
Serializable
,Comparable<AryaSiddhanta>
,java.lang.constant.Constable
A set of calculations developed by Arya Siddhanta of Aryabhata in Julian year 499 AD, mentioned by Lalla at about 720-790 AD.
The old Hindu calendar uses mean values in all astronomical calculations.
- Since:
- 5.6
- Author:
- Meno Hochschild
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AryaSiddhanta
Returns the enum constant of this class with the specified name.static AryaSiddhanta[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.variant()
Obtains the associated non-customizable variant of Hindu calendar.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SOLAR
Describes the solar calendar whose months are between 29 and 32 days long.
-
LUNAR
Describes the lunisolar calendar whose months correspond to the new moon cycle.
Sometimes, a leap month will be inserted to synchronize the lunar year with the solar year.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
variant
Obtains the associated non-customizable variant of Hindu calendar.
- Returns:
- HinduVariant
-