Package net.e175.klaus.solarpositioning
Class SunriseTransitSet
java.lang.Object
net.e175.klaus.solarpositioning.SunriseTransitSet
A simple wrapper class for keeping sunrise, sunset, and transit results.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionSunriseTransitSet(SunriseTransitSet.Type type, ZonedDateTime sunrise, ZonedDateTime transit, ZonedDateTime sunset) -
Method Summary
-
Constructor Details
-
SunriseTransitSet
public SunriseTransitSet(SunriseTransitSet.Type type, ZonedDateTime sunrise, ZonedDateTime transit, ZonedDateTime sunset)
-
-
Method Details
-
getType
-
getSunrise
Get time of sunrise. This may be null depending on the day's type. -
getTransit
The sun's (upper) transit, or solar noon. This is never null, even for ALL_NIGHT days. -
getSunset
Get time of sunset. This may be null depending on the day's type. -
toString
-