SolarCalculator.h
SolarCalculator()
Default constructor, uses Royal Observatory, Greenwich as default.
Definition: SolarCalculator.h:34
SolarCalculator(const SolarRef &ref)
Perform calculations using the given solar reference.
Definition: SolarCalculator.h:41
const SolarRef & getRef() const
Get the current location reference in use.
Definition: SolarCalculator.h:48
void setRef(const SolarRef &ref)
Set the location reference for calculations.
Definition: SolarCalculator.h:56
int sunRiseSet(bool isRise, int y, int m, int d)