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 BooleanmidnightSunSet to true if midnight sun (sun not setting), false otherwiseBooleanpolarNightSet to true if polar night (the sun is not rising), false otherwiseNumberriseUNIX timestamp of the sunrise.StringriseISOISO 8601 date of the sunrise.NumbersetUNIX timestamp of the sunset.StringsetISOISO 8601 date of the sunset.NumbertransitUNIX timestamp of the point the sun is "overhead".StringtransitISOISO 8601 date of the "overhead".Twilighttwilight
-
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
-
-