16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 19:09:20 +02:00

reformat: functions can be made static

This commit is contained in:
jerrrrycho
2026-07-04 06:09:04 +02:00
parent 1d0d1c015b
commit aeb800283c
66 changed files with 199 additions and 184 deletions

View File

@@ -56,17 +56,17 @@ private:
int
year_day( int Day, int Month, int Year ) const;
// calculates day of week for provided date
int
day_of_week( int Day, int Month, int Year ) const;
static int
day_of_week( int Day, int Month, int Year );
// calculates day of month for specified weekday of specified month of the year
int
day_of_month( int Week, int Weekday, int Month, int Year ) const;
// returns number of days between specified days of week
int
weekdays( int First, int Second ) const;
static int
weekdays( int First, int Second );
// returns true if specified year is a leap year, false otherwise
bool
is_leap( int Year ) const;
static bool
is_leap( int Year );
SYSTEMTIME m_time;
double m_milliseconds{ 0.0 };