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

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

Variable Documentation

◆ g_days_in_month

const int 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().

◆ g_ydays

const int 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.