public enum AryaSiddhanta extends Enum<AryaSiddhanta>
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.
| Enum Constant and Description |
|---|
LUNAR
Describes the lunisolar calendar whose months correspond to the new moon cycle.
|
SOLAR
Describes the solar calendar whose months are between 29 and 32 days long.
|
| Modifier and Type | Method and Description |
|---|---|
static AryaSiddhanta |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AryaSiddhanta[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
HinduVariant |
variant()
Obtains the associated non-customizable variant of Hindu calendar.
|
public static final AryaSiddhanta SOLAR
Describes the solar calendar whose months are between 29 and 32 days long.
public static final AryaSiddhanta 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.
public static AryaSiddhanta[] values()
for (AryaSiddhanta c : AryaSiddhanta.values()) System.out.println(c);
public static AryaSiddhanta valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic HinduVariant variant()
Obtains the associated non-customizable variant of Hindu calendar.
Copyright © 2014–2021. All rights reserved.