Lines Matching refs:dateTime
13 SkTime::DateTime dateTime; in DEF_TEST() local
14 SkTime::GetDateTime(&dateTime); in DEF_TEST()
20 if (dateTime.fYear < kMinimumSaneYear) { in DEF_TEST()
23 static_cast<unsigned>(dateTime.fYear), in DEF_TEST()
26 if (dateTime.fYear > kMaximumSaneYear) { in DEF_TEST()
29 static_cast<unsigned>(dateTime.fYear), in DEF_TEST()
33 REPORTER_ASSERT(r, dateTime.fMonth >= 1); in DEF_TEST()
34 REPORTER_ASSERT(r, dateTime.fMonth <= 12); in DEF_TEST()
36 REPORTER_ASSERT(r, dateTime.fDay >= 1); in DEF_TEST()
37 REPORTER_ASSERT(r, dateTime.fDay <= 31); in DEF_TEST()
39 REPORTER_ASSERT(r, dateTime.fHour <= 23); in DEF_TEST()
41 REPORTER_ASSERT(r, dateTime.fMinute <= 59); in DEF_TEST()
43 REPORTER_ASSERT(r, dateTime.fSecond <= 60); // leap seconds are 23:59:60 in DEF_TEST()
47 REPORTER_ASSERT(r, SkTAbs(SkToInt(dateTime.fTimeZoneMinutes)) <= 14 * 60); in DEF_TEST()
50 dateTime.toISO8601(&timeStamp); in DEF_TEST()