zipios  2.2.0
Zipios – a small C++ library that provides 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. More...
 
int const g_ydays [12]
 

Variable Documentation

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 83 of file dosdatetime.cpp.

Referenced by zipios::DOSDateTime::daysInMonth().

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 99 of file dosdatetime.cpp.