Searched refs:mday (Results 1 – 1 of 1) sorted by relevance
/system/extras/tests/timetest/ |
D | rtc_test.cpp | 86 int mday[12] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; in rtc_rollover() local 87 mday[1] = (roll.tm_year % 4) ? 28 : 29; in rtc_rollover() 95 ASSERT_GE(mday[roll.tm_mon], roll.tm_mday); in rtc_rollover() 158 mday[1] = (save.tm_year % 4) ? 28 : 29; in rtc_rollover() 159 if (++save.tm_mday >= mday[save.tm_mon]) { in rtc_rollover()
|