Home | History | Annotate | Download | only in time

Lines Matching refs:Zone

113 	hasTZ      bool // contains a time zone
204 _, offset := t1.Zone()
206 t.Fatalf("ParseInLocation(Feb 01 2013 AST, Baghdad).Zone = _, %d, want _, %d", offset, 3*60*60)
222 _, offset = t1.Zone()
224 t.Fatalf("ParseInLocation(Feb 01 2013 AST, Blanc-Sablon).Zone = _, %d, want _, %d", offset, -4*60*60)
240 // Ignore the time zone in the test. If it parses, it'll be OK.
246 // Problematic time zone format needs special tests.
286 name, offset := time.Zone()
455 // Check that a time without a Zone still produces a (numeric) time zone
456 // when formatted with MST as a requested zone.
463 zone
475 _, offset := time.Zone()
497 // should accept timezone offsets with seconds like: Zone America/New_York -4:56:02 - LMT 1883 Nov 18 12:03:58
503 _, offset := time.Zone()