src/date_type.h
changeset 11038 d253e0dfa688
parent 8636 2b158acb649c
equal deleted inserted replaced
11037:43dce4b318bf 11038:d253e0dfa688
    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