Lines Matching full:exploded
96 PR_ImplodeTime(const PRExplodedTime *exploded)
102 // Create the system struct representing our exploded time.
107 st.wYear = exploded->tm_year;
108 st.wMonth = exploded->tm_month + 1;
109 st.wDayOfWeek = exploded->tm_wday;
110 st.wDay = exploded->tm_mday;
111 st.wHour = exploded->tm_hour;
112 st.wMinute = exploded->tm_min;
113 st.wSecond = exploded->tm_sec;
114 st.wMilliseconds = exploded->tm_usec/1000;
128 result -= (exploded->tm_params.tp_gmt_offset +
129 exploded->tm_params.tp_dst_offset) * kSecondsToMicroseconds;
132 // Create the system struct representing our exploded time.
134 gregorian_date.year = exploded->tm_year;
135 gregorian_date.month = exploded->tm_month + 1;
136 gregorian_date.day = exploded->tm_mday;
137 gregorian_date.hour = exploded->tm_hour;
138 gregorian_date.minute = exploded->tm_min;
139 gregorian_date.second = exploded->tm_sec;
147 result -= exploded->tm_params.tp_gmt_offset +
148 exploded->tm_params.tp_dst_offset;
151 result += exploded->tm_usec;
155 exp_tm.tm_sec = exploded->tm_sec;
156 exp_tm.tm_min = exploded->tm_min;
157 exp_tm.tm_hour = exploded->tm_hour;
158 exp_tm.tm_mday = exploded->tm_mday;
159 exp_tm.tm_mon = exploded->tm_month;
160 exp_tm.tm_year = exploded->tm_year - 1900;
167 !(exploded->tm_year == 1969 && exploded->tm_month == 11 &&
168 exploded->tm_mday == 31 && exploded->tm_hour == 23 &&
169 exploded->tm_min == 59 && exploded->tm_sec == 59)) {
173 if (exploded->tm_year >= 1970)
181 result -= exploded->tm_params.tp_gmt_offset +
182 exploded->tm_params.tp_dst_offset;
184 result += exploded->tm_usec;