Lines Matching defs:time
67 // ECMA 262 - ES#sec-timeclip TimeClip (time)
68 double DateCache::TimeClip(double time) {
69 if (-kMaxTimeInMs <= time && time <= kMaxTimeInMs) {
70 return DoubleToInteger(time);
214 // ECMA 262 - ES#sec-local-time-zone-adjustment
223 // offset for a given local time.
233 // Consider transition to DST at local time L1.
235 // U1 = UTC time that corresponds to L1,
238 // U0 = UTC time that corresponds to L0 = L0 - LocalTZA,
239 // U1 = UTC time that corresponds to L1 = L1 - LocalTZA,
240 // U1 = UTC time that corresponds to L2 = L2 - LocalTZA - hour.
246 // Consider transition from DST at local time L1.
248 // U1 = UTC time that corresponds to L1,
251 // U0 = UTC time that corresponds to L0 (before transition)
253 // U1 = UTC time that corresponds to L0 (after transition)
255 // U2 = UTC time that corresponds to L1 = L1 - LocalTZA.
259 // It is impossible to get U1 from local time.
475 double MakeDate(double day, double time) {
476 if (std::isfinite(day) && std::isfinite(time)) {
477 return time + day * kMsPerDay;