src/date_type.h
changeset 9570 8b9c1cbb0077
parent 8140 0d0d8c94f84b
equal deleted inserted replaced
9569:7697ab949b12 9570:8b9c1cbb0077
    44 typedef uint8  Month;
    44 typedef uint8  Month;
    45 typedef uint8  Day;
    45 typedef uint8  Day;
    46 
    46 
    47 struct YearMonthDay {
    47 struct YearMonthDay {
    48 	Year  year;
    48 	Year  year;
    49 	Month month;
    49 	Month month; ///< 0 - 11
    50 	Day   day;
    50 	Day   day;   ///< 1 - 31
    51 };
    51 };
    52 
    52 
    53 static const Year INVALID_YEAR = -1;
    53 static const Year INVALID_YEAR = -1;
    54 static const Date INVALID_DATE = -1;
    54 static const Date INVALID_DATE = -1;
    55 
    55