mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 12:49:18 +02:00
support for config-specified day of the year
This commit is contained in:
2
sun.h
2
sun.h
@@ -54,6 +54,8 @@ protected:
|
||||
void irradiance();
|
||||
// calculates day of year from given date
|
||||
int yearday( int Day, int const Month, int const Year );
|
||||
// calculates day and month from given day of year
|
||||
void daymonth( WORD &Day, WORD &Month, WORD const Year, WORD const Yearday );
|
||||
// obtains current time for calculations
|
||||
void time( SYSTEMTIME *Time );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user