41#ifndef _DWMSUNRISESUNSET_HH_
42#define _DWMSUNRISESUNSET_HH_
68 bool IsDaytime(
double latitude,
double longitude, time_t t);
TimeValue64 Sunset(double latitude, double longitude, time_t t)
Returns the time of sunset for the given latitude and longitude on the day that includes time t.
bool IsDaytime(double latitude, double longitude, time_t t)
Returns true if the given time t at (latitude, longitude) is while the sun is up.
TimeValue64 Sunrise(double latitude, double longitude, time_t t)
Returns the time of sunrise for the given latitude and longitude on the day that includes time t.
Dwm::TimeValue64 class definition.
This class encapsulates a time value beyond the UNIX epoch, with microsecond granularity.
Definition DwmTimeValue64.hh:67