Home | History | Annotate | Download | only in src

Lines Matching refs:tz

43   TimeZoneComposer tz;
95 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz);
122 } else if (tz.IsExpecting(n)) {
123 tz.SetAbsoluteMinute(n);
147 tz.Set(value);
152 } else if (token.IsAsciiSign() && (tz.IsUTC() || !time.IsEmpty())) {
154 tz.SetSign(token.ascii_sign());
163 tz.SetAbsoluteHour(n);
164 tz.SetAbsoluteMinute(kNone);
166 tz.SetAbsoluteHour(n / 100);
167 tz.SetAbsoluteMinute(n % 100);
178 return day.Write(out) && time.Write(out) && tz.Write(out);
221 TimeZoneComposer* tz) {
224 ASSERT(tz->IsEmpty());
290 tz->Set(0);
293 tz->SetSign(scanner->Next().symbol() == '+' ? 1 : -1);
302 tz->SetAbsoluteHour(hour);
303 tz->SetAbsoluteMinute(min);
310 tz->SetAbsoluteHour(scanner->Next().number());
316 tz->SetAbsoluteMinute(scanner->Next().number());
321 // Successfully parsed ES5 Date Time String. Default to UTC if no TZ given.
322 if (tz->IsEmpty()) tz->Set(0);