wunderground v0.0.6 Wunderground.Astronomy.Moonphase
Ensures correct JSON encoding.
Link to this section Summary
Link to this section Types
Link to this type
t()
t() :: %Wunderground.Astronomy.Moonphase{ageOfMoon: String.t, current_time: Wunderground.Astronomy.Time.t, hemisphere: String.t, moonrise: Wunderground.Astronomy.Time.t, moonset: Wunderground.Astronomy.Time.t, percentIlluminated: String.t, phaseofMoon: String.t, sunrise: Wunderground.Astronomy.Time.t, sunset: Wunderground.Astronomy.Time.t}
The Wunderground.Astronomy.Moonphase struct.
Example
%Wunderground.Astronomy.Moonphase{
ageOfMoon: "9",
current_time: %Wunderground.Astronomy.Time{hour: "13", minute: "01"},
hemisphere: "North",
moonrise: %Wunderground.Astronomy.Time{hour: "16", minute: "37"},
moonset: %Wunderground.Astronomy.Time{hour: "1", minute: "45"},
percentIlluminated: "70",
phaseofMoon: "Waxing Gibbous",
sunrise: %Wunderground.Astronomy.Time{hour: "7", minute: "16"},
sunset: %Wunderground.Astronomy.Time{hour: "20", minute: "25"}
}