Enum Class SunMoonCalculator.TWILIGHT

java.lang.Object
java.lang.Enum<SunMoonCalculator.TWILIGHT>
eu.hansolo.tilesfx.tools.SunMoonCalculator.TWILIGHT
All Implemented Interfaces:
Serializable, Comparable<SunMoonCalculator.TWILIGHT>, Constable
Enclosing class:
SunMoonCalculator

public static enum SunMoonCalculator.TWILIGHT extends Enum<SunMoonCalculator.TWILIGHT>
The set of twilights to calculate (types of rise/set events).
  • Enum Constant Details

    • TWILIGHT_ASTRONOMICAL

      public static final SunMoonCalculator.TWILIGHT TWILIGHT_ASTRONOMICAL
      Event ID for calculation of rising and setting times for astronomical twilight. In this case, the calculated time will be the time when the center of the object is at -18 degrees of geometrical elevation below the astronomical horizon. At this time astronomical observations are possible because the sky is dark enough.
    • TWILIGHT_NAUTICAL

      public static final SunMoonCalculator.TWILIGHT TWILIGHT_NAUTICAL
      Event ID for calculation of rising and setting times for nautical twilight. In this case, the calculated time will be the time when the center of the object is at -12 degrees of geometric elevation below the astronomical horizon.
    • TWILIGHT_CIVIL

      public static final SunMoonCalculator.TWILIGHT TWILIGHT_CIVIL
      Event ID for calculation of rising and setting times for civil twilight. In this case, the calculated time will be the time when the center of the object is at -6 degrees of geometric elevation below the astronomical horizon.
    • BLUE_HOUR

      public static final SunMoonCalculator.TWILIGHT BLUE_HOUR
      The standard value of 34' for the refraction at the local horizon.
    • HORIZON_34arcmin

      public static final SunMoonCalculator.TWILIGHT HORIZON_34arcmin
    • GOLDEN_HOUR

      public static final SunMoonCalculator.TWILIGHT GOLDEN_HOUR
  • Method Details

    • values

      public static SunMoonCalculator.TWILIGHT[] 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 SunMoonCalculator.TWILIGHT 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