zipios 2.3.4
Zipios -- a small C++ library providing easy access to .zip files.
Variables
zipios::anonymous_namespace{dosdatetime.cpp} Namespace Reference

Variables

int const g_days_in_month [12]
 Number of days in a month.
 
int const g_ydays [12]
 

Variable Documentation

◆ g_days_in_month

int const zipios::anonymous_namespace{dosdatetime.cpp}::g_days_in_month[12]
Initial value:
= {
31,
0,
31,
30,
31,
30,
31,
31,
30,
31,
30,
31
}

This table is used in the daysInMonth() function to determine the number of days in the month. It is ignored if the month is February.

Definition at line 88 of file src/dosdatetime.cpp.

◆ g_ydays

int const zipios::anonymous_namespace{dosdatetime.cpp}::g_ydays[12]
Initial value:
= {
0,
31,
31 + 0,
31 + 0 + 31,
31 + 0 + 31 + 30,
31 + 0 + 31 + 30 + 31,
31 + 0 + 31 + 30 + 31 + 30,
31 + 0 + 31 + 30 + 31 + 30 + 31,
31 + 0 + 31 + 30 + 31 + 30 + 31 + 31,
31 + 0 + 31 + 30 + 31 + 30 + 31 + 31 + 30,
31 + 0 + 31 + 30 + 31 + 30 + 31 + 31 + 30 + 31,
31 + 0 + 31 + 30 + 31 + 30 + 31 + 31 + 30 + 31 + 30
}

Definition at line 104 of file src/dosdatetime.cpp.