solarsystem.sunriseset module¶
-
class
solarsystem.sunriseset.
Sunriseset
(year, month, day, UT=0, dst=0, longtitude=0.0, latitude=51.48)[source]¶ Bases:
object
Import date outputs Sunrise and Sunset time.
Parameters: - year (int) – Year (4 digits) ex. 2020.
- month (int) – Month (1-12).
- day (int) – Day (1-31).
- UT – Time Zone (deviation from UT, -12:+14), ex. for Greece (GMT + 2) enter UT = 2.
- dst (int) – daylight saving time (0 or 1). Wheather dst is applied at given time and place.
- longtitude (float) – longitude of place of Sunrise - Sunset in demical format.
- latitude (float) – latitude of place of Sunrise - Sunset in demical format.