Enum Class AryaSiddhanta

java.lang.Object
java.lang.Enum<AryaSiddhanta>
net.time4j.calendar.hindu.AryaSiddhanta
All Implemented Interfaces:
Serializable, Comparable<AryaSiddhanta>, java.lang.constant.Constable

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.

Since:
5.6
Author:
Meno Hochschild
  • Enum Constant Details

    • SOLAR

      public static final AryaSiddhanta SOLAR

      Describes the solar calendar whose months are between 29 and 32 days long.

    • LUNAR

      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.

  • Method Details

    • values

      public static AryaSiddhanta[] 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

      public static AryaSiddhanta valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • variant

      public HinduVariant variant()

      Obtains the associated non-customizable variant of Hindu calendar.

      Returns:
      HinduVariant