Lines Matching defs:dt
34 void SkTime::GetDateTime(DateTime* dt) {
35 if (dt) {
38 dt->fTimeZoneMinutes = 0;
39 dt->fYear = st.wYear;
40 dt->fMonth = SkToU8(st.wMonth);
41 dt->fDayOfWeek = SkToU8(st.wDayOfWeek);
42 dt->fDay = SkToU8(st.wDay);
43 dt->fHour = SkToU8(st.wHour);
44 dt->fMinute = SkToU8(st.wMinute);
45 dt->fSecond = SkToU8(st.wSecond);
52 void SkTime::GetDateTime(DateTime* dt) {
53 if (dt) {
58 dt->fTimeZoneMinutes = 0;
59 dt->fYear = tstruct.tm_year + 1900;
60 dt->fMonth = SkToU8(tstruct.tm_mon + 1);
61 dt->fDayOfWeek = SkToU8(tstruct.tm_wday);
62 dt->fDay = SkToU8(tstruct.tm_mday);
63 dt->fHour = SkToU8(tstruct.tm_hour);
64 dt->fMinute = SkToU8(tstruct.tm_min);
65 dt->fSecond = SkToU8(tstruct.tm_sec);