Class Sun


  • public class Sun
    extends Object
    Sun information
    • Field Detail

      • rise

        public Number rise
        UNIX timestamp of the sunrise. null if no sunrise
      • riseISO

        public String riseISO
        ISO 8601 date of the sunrise. null if no sunrise
      • set

        public Number set
        UNIX timestamp of the sunset. null if no sunset
      • setISO

        public String setISO
        ISO 8601 date of the sunset. null if no sunset
      • transit

        public Number transit
        UNIX timestamp of the point the sun is "overhead". null if no transit
      • transitISO

        public String transitISO
        ISO 8601 date of the "overhead". null if no transit
      • midnightSun

        public Boolean midnightSun
        Set to true if midnight sun (sun not setting), false otherwise
      • polarNight

        public Boolean polarNight
        Set to true if polar night (the sun is not rising), false otherwise
    • Constructor Detail

      • Sun

        public Sun()