Home | History | Annotate | Download | only in core

Lines Matching refs:dt

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