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