public enum HinduRule extends Enum<HinduRule>
The Hindu calendar variants use a set of different algorithmic rules how to determine the start of solar month in relation to the zodiacal position of the sun (samkranti).
The rule also affects the naming of solar months. For example: Madras and the Malayali-rule prefer rasi names.
| Enum Constant and Description |
|---|
AMANTA
The amanta scheme is a lunisolar calendar based on the new moon cycle
and starting the year with the month Chaitra.
|
AMANTA_ASHADHA
This special amanta scheme is a lunisolar calendar based on the new moon cycle
and starting the year with the month Ashadha.
|
AMANTA_KARTIKA
This special amanta scheme is a lunisolar calendar based on the new moon cycle
and starting the year with the month Kartika.
|
MADRAS
A solar calendar which uses midnight at end of current day as critical time.
|
MALAYALI
A solar calendar which uses the seasonal time of 12 minutes after 1 PM
which corresponds to 3/5 th of the time period between sunrise and sunset
in this definition.
|
ORISSA
A solar calendar which uses the sunrise of following morning as critical time.
|
PURNIMANTA
The purnimanta scheme is a lunisolar calendar based on the full moon cycle.
|
TAMIL
A solar calendar which uses the sunset of current day as critical time.
|
| Modifier and Type | Method and Description |
|---|---|
static HinduRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HinduRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
HinduVariant |
variant()
Creates the associated and customizable variant of Hindu calendar.
|
public static final HinduRule ORISSA
A solar calendar which uses the sunrise of following morning as critical time.
The default era is SAKA.
public static final HinduRule TAMIL
A solar calendar which uses the sunset of current day as critical time.
Mainly used in Tamil Nadu region. The default era is SAKA.
public static final HinduRule MALAYALI
A solar calendar which uses the seasonal time of 12 minutes after 1 PM which corresponds to 3/5 th of the time period between sunrise and sunset in this definition.
Mainly used in Kerala region. The default era is KOLLAM. The months usually use
rasi names unless the format attribute HinduMonth.RASI_NAMES is used together
with the format class ChronoFormatter.
public static final HinduRule MADRAS
A solar calendar which uses midnight at end of current day as critical time.
Mainly used in Madras (Chennai). The default era is SAKA. The month names are handled
in a similar way to the Malayali rule.
public static final HinduRule AMANTA
The amanta scheme is a lunisolar calendar based on the new moon cycle and starting the year with the month Chaitra.
The default era is HinduEra.VIKRAMA. Used mainly in Maharashtra, Karnataka, Kerala,
Tamilnadu, Andhra pradesh, Telangana, and West Bengal. Gujarat uses special Amanta-versions
which differs in when the year starts.
AMANTA_ASHADHA,
AMANTA_KARTIKApublic static final HinduRule AMANTA_ASHADHA
This special amanta scheme is a lunisolar calendar based on the new moon cycle and starting the year with the month Ashadha.
The default era is HinduEra.VIKRAMA. Used in some parts of Gujarat.
AMANTA_KARTIKApublic static final HinduRule AMANTA_KARTIKA
This special amanta scheme is a lunisolar calendar based on the new moon cycle and starting the year with the month Kartika.
The default era is HinduEra.VIKRAMA. Used in Gujarat.
AMANTA_ASHADHApublic static final HinduRule PURNIMANTA
The purnimanta scheme is a lunisolar calendar based on the full moon cycle.
It is shifted for about two weeks compared with the amanta scheme. The first days (in the waning fortnight) from full moon to new moon have the numbers 16, 17, ..., 30 and then the numbers 1, 2, ..., 15 (waxing fortnight). Lost days and leap days are possible so users cannot expect continuous numbering sequences.
public static HinduRule[] values()
for (HinduRule c : HinduRule.values()) System.out.println(c);
public static HinduRule 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()
Creates the associated and customizable variant of Hindu calendar.
Copyright © 2014–2021. All rights reserved.