Package com.aerisweather.aeris.model
Class Sun
- java.lang.Object
-
- com.aerisweather.aeris.model.Sun
-
public class Sun extends Object
Sun information
-
-
Field Summary
Fields Modifier and Type Field Description Boolean
midnightSun
Set to true if midnight sun (sun not setting), false otherwiseBoolean
polarNight
Set to true if polar night (the sun is not rising), false otherwiseNumber
rise
UNIX timestamp of the sunrise.String
riseISO
ISO 8601 date of the sunrise.Number
set
UNIX timestamp of the sunset.String
setISO
ISO 8601 date of the sunset.Number
transit
UNIX timestamp of the point the sun is "overhead".String
transitISO
ISO 8601 date of the "overhead".Twilight
twilight
-
Constructor Summary
Constructors Constructor Description Sun()
-
-
-
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
-
twilight
public Twilight twilight
-
-