Lines Matching refs:dt
31 void SkTime::GetDateTime(DateTime* dt) {
32 if (dt) {
35 dt->fTimeZoneMinutes = 0;
36 dt->fYear = st.wYear;
37 dt->fMonth = SkToU8(st.wMonth);
38 dt->fDayOfWeek = SkToU8(st.wDayOfWeek);
39 dt->fDay = SkToU8(st.wDay);
40 dt->fHour = SkToU8(st.wHour);
41 dt->fMinute = SkToU8(st.wMinute);
42 dt->fSecond = SkToU8(st.wSecond);
49 void SkTime::GetDateTime(DateTime* dt) {
50 if (dt) {
55 dt->fTimeZoneMinutes = 0;
56 dt->fYear = tstruct.tm_year + 1900;
57 dt->fMonth = SkToU8(tstruct.tm_mon + 1);
58 dt->fDayOfWeek = SkToU8(tstruct.tm_wday);
59 dt->fDay = SkToU8(tstruct.tm_mday);
60 dt->fHour = SkToU8(tstruct.tm_hour);
61 dt->fMinute = SkToU8(tstruct.tm_min);
62 dt->fSecond = SkToU8(tstruct.tm_sec);