/prebuilts/go/linux-x86/src/time/ |
zoneinfo_unix.go | 31 // $TZ="" means use UTC. 43 case tz != "" && tz != "UTC": 50 // Fall back to UTC. 51 localLoc.name = "UTC"
|
time_test.go | 42 ZoneOffset int // seconds east of UTC, e.g. -7*60*60 for -0700 52 {0, parsedTime{1970, January, 1, 0, 0, 0, 0, Thursday, 0, "UTC"}}, 53 {1221681866, parsedTime{2008, September, 17, 20, 4, 26, 0, Wednesday, 0, "UTC"}}, 54 {-1221681866, parsedTime{1931, April, 16, 3, 55, 34, 0, Thursday, 0, "UTC"}}, 55 {-11644473600, parsedTime{1601, January, 1, 0, 0, 0, 0, Monday, 0, "UTC"}}, 56 {599529660, parsedTime{1988, December, 31, 0, 1, 0, 0, Saturday, 0, "UTC"}}, 57 {978220860, parsedTime{2000, December, 31, 0, 1, 0, 0, Sunday, 0, "UTC"}}, 61 {0, parsedTime{1970, January, 1, 0, 0, 0, 1e8, Thursday, 0, "UTC"}}, 62 {1221681866, parsedTime{2008, September, 17, 20, 4, 26, 2e8, Wednesday, 0, "UTC"}}, 100 tm := Unix(sec, 0).UTC() [all...] |
zoneinfo.go | 30 // since January 1, 1970 UTC, to match the argument 40 offset int // seconds east of UTC 58 // UTC represents Universal Coordinated Time (UTC). 59 var UTC *Location = &utcLoc 63 // even if a badly behaved client has changed UTC. 64 var utcLoc = Location{name: "UTC"} 91 // the given zone name and offset (seconds east of UTC). 105 // instant in time expressed as seconds since January 1, 1970 00:00:00 UTC. 109 // the offset in seconds east of UTC (such as -5*60*60), and whethe [all...] |
zoneinfo_test.go | 116 if time.UTC.String() != "UTC" { 117 t.Errorf(`invalid UTC location name: got %q want "UTC"`, time.UTC)
|
mono_test.go | 29 no("Date(2009, 11, 23, 0, 0, 0, 0, UTC)", Date(2009, 11, 23, 0, 0, 0, 0, UTC)) 43 no("tu.In(UTC)", tu.In(UTC)) 47 no("tu.UTC()", tu.UTC()) 54 no("tm.In(UTC)", tm.In(UTC)) 56 no("tm.UTC()", tm.UTC()) [all...] |
zoneinfo_plan9.go | 60 return UTC, nil 140 // Fall back to UTC. 141 localLoc.name = "UTC"
|
zoneinfo_ios.go | 30 localLoc = *UTC
|
/prebuilts/go/darwin-x86/src/time/ |
time_test.go | 42 ZoneOffset int // seconds east of UTC, e.g. -7*60*60 for -0700 52 {0, parsedTime{1970, January, 1, 0, 0, 0, 0, Thursday, 0, "UTC"}}, 53 {1221681866, parsedTime{2008, September, 17, 20, 4, 26, 0, Wednesday, 0, "UTC"}}, 54 {-1221681866, parsedTime{1931, April, 16, 3, 55, 34, 0, Thursday, 0, "UTC"}}, 55 {-11644473600, parsedTime{1601, January, 1, 0, 0, 0, 0, Monday, 0, "UTC"}}, 56 {599529660, parsedTime{1988, December, 31, 0, 1, 0, 0, Saturday, 0, "UTC"}}, 57 {978220860, parsedTime{2000, December, 31, 0, 1, 0, 0, Sunday, 0, "UTC"}}, 61 {0, parsedTime{1970, January, 1, 0, 0, 0, 1e8, Thursday, 0, "UTC"}}, 62 {1221681866, parsedTime{2008, September, 17, 20, 4, 26, 2e8, Wednesday, 0, "UTC"}}, 100 tm := Unix(sec, 0).UTC() [all...] |
zoneinfo.go | 30 // since January 1, 1970 UTC, to match the argument 40 offset int // seconds east of UTC 58 // UTC represents Universal Coordinated Time (UTC). 59 var UTC *Location = &utcLoc 63 // even if a badly behaved client has changed UTC. 64 var utcLoc = Location{name: "UTC"} 91 // the given zone name and offset (seconds east of UTC). 105 // instant in time expressed as seconds since January 1, 1970 00:00:00 UTC. 109 // the offset in seconds east of UTC (such as -5*60*60), and whethe [all...] |
zoneinfo_test.go | 116 if time.UTC.String() != "UTC" { 117 t.Errorf(`invalid UTC location name: got %q want "UTC"`, time.UTC)
|
mono_test.go | 29 no("Date(2009, 11, 23, 0, 0, 0, 0, UTC)", Date(2009, 11, 23, 0, 0, 0, 0, UTC)) 43 no("tu.In(UTC)", tu.In(UTC)) 47 no("tu.UTC()", tu.UTC()) 54 no("tm.In(UTC)", tm.In(UTC)) 56 no("tm.UTC()", tm.UTC()) [all...] |
zoneinfo_plan9.go | 60 return UTC, nil 140 // Fall back to UTC. 141 localLoc.name = "UTC"
|
zoneinfo_ios.go | 30 localLoc = *UTC
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKZoneOffset.java | 129 ZoneOffset test = ZoneOffset.UTC; 157 assertSame(test, ZoneOffset.UTC); 477 offset = ZoneOffset.UTC; 495 assertEquals(offset.getRules().isValidOffset((LocalDateTime) null, ZoneOffset.UTC), false); 509 assertEquals(ZoneOffset.UTC.get(OFFSET_SECONDS), 0); 516 assertEquals(ZoneOffset.UTC.getLong(OFFSET_SECONDS), 0); 527 {ZoneOffset.UTC, TemporalQueries.chronology(), null}, 528 {ZoneOffset.UTC, TemporalQueries.zoneId(), null}, 529 {ZoneOffset.UTC, TemporalQueries.precision(), null}, 530 {ZoneOffset.UTC, TemporalQueries.zone(), ZoneOffset.UTC} [all...] |
TCKInstant.java | 209 Clock clock = Clock.fixed(expected, ZoneOffset.UTC); 219 Clock clock = Clock.fixed(expected, ZoneOffset.UTC); 445 {Instant.ofEpochSecond(10, 200), LocalDateTime.of(1970, 1, 1, 0, 0, 20).toInstant(ZoneOffset.UTC), Instant.ofEpochSecond(10, 200), null}, 446 {Instant.ofEpochSecond(10, 200), OffsetDateTime.of(1970, 1, 1, 0, 0, 20, 10, ZoneOffset.UTC), OffsetDateTime.of(1970, 1, 1, 0, 0, 10, 200, ZoneOffset.UTC), null}, 483 {Instant.ofEpochSecond(10, 200), LocalDateTime.of(1970, 1, 1, 0, 0, 20).toInstant(ZoneOffset.UTC), Instant.ofEpochSecond(20), null}, [all...] |
/development/tools/bugreport/src/com/android/bugreport/util/ |
Utils.java | 29 * UTC Time Zone. 31 public static final TimeZone UTC = TimeZone.getTimeZone("UTC"); 92 final GregorianCalendar result = new GregorianCalendar(UTC);
|
/external/toybox/tests/ |
gunzip.test | 42 export TZ=UTC
|
gzip.test | 70 export TZ=UTC 76 "gzip -k f1 && TZ=UTC stat -c '%a %Y' f1 && stat -c '%a %X %Y' f1.gz" \
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTimeFactory.java | 28 /** The UTC TimeZone */ 29 private static final TimeZone UTC = TimeZone.getTimeZone("UTC"); 95 * @return Returns The returned time is UTC, properly adjusted for the local time zone. The 120 * Make sure a time is UTC. If the time zone is not UTC, the time is 121 * adjusted and the time zone set to be UTC. 131 GregorianCalendar cal = new GregorianCalendar(UTC);
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
TCKChronoZonedDateTime.java | 118 ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); 121 ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); 141 ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); 144 ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); 165 ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); 168 ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); 189 ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); 192 ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); 213 ChronoZonedDateTime<?> czdt = chrono.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); 216 ChronoZonedDateTime<?> czdt2 = chrono2.date(refDate).atTime(LocalTime.NOON).atZone(ZoneOffset.UTC); [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 34 private static final TimeZone UTC = TimeZone.getTimeZone("Etc/UTC"); 37 * The list of time zone ids formatted as "UTC". 40 "Etc/UCT", "Etc/UTC", "Etc/Universal", "Etc/Zulu", "UCT", "UTC", "Universal", "Zulu" 62 sdf.setTimeZone(UTC); 71 sdf.setTimeZone(UTC); 201 format.setTimeZone(UTC); 216 return formatDate(l, fmt, UTC); 227 sdf.setTimeZone(UTC); [all...] |
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
TestDateTimeParsing.java | 126 {INSTANT_WITH_PARIS, "2014-06-30T01:02:03Z", ZonedDateTime.of(2014, 6, 30, 1, 2, 3, 0, ZoneOffset.UTC).withZoneSameInstant(PARIS)}, 127 {INSTANT_WITH_0230, "2014-06-30T01:02:03Z", ZonedDateTime.of(2014, 6, 30, 1, 2, 3, 0, ZoneOffset.UTC).withZoneSameInstant(OFFSET_0230)}, 128 {INSTANT_OFFSETID, "2014-06-30T01:02:03Z +02:30", ZonedDateTime.of(2014, 6, 30, 1, 2, 3, 0, ZoneOffset.UTC).withZoneSameInstant(OFFSET_0230)}, 129 {INSTANT_OFFSETSECONDS, "2014-06-30T01:02:03Z 9000", ZonedDateTime.of(2014, 6, 30, 1, 2, 3, 0, ZoneOffset.UTC).withZoneSameInstant(OFFSET_0230)}, 169 {INSTANT, "2014-06-30T01:02:03Z", ZonedDateTime.of(2014, 6, 30, 1, 2, 3, 0, ZoneOffset.UTC).toInstant()},
|
/external/snakeyaml/src/test/java/examples/jodatime/ |
JodaTimeFlowStylesTest.java | 45 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC); 120 DateTime etalon = new DateTime(timestamp, DateTimeZone.UTC); 146 return new DateTime(date, DateTimeZone.UTC);
|
/external/golang-protobuf/ptypes/ |
timestamp_test.go | 52 time.Unix(math.MinInt64, math.MinInt32).UTC()}, 54 {&tspb.Timestamp{Seconds: math.MinInt64, Nanos: 0}, false, time.Unix(math.MinInt64, 0).UTC()}, 60 time.Unix(math.MaxInt64, math.MaxInt32).UTC()}, 63 time.Unix(math.MaxInt64, 1e9-1).UTC()}, 66 time.Date(9999, 12, 31, 23, 59, 59, 1e9-1, time.UTC)}, 68 {&tspb.Timestamp{Seconds: maxValidSeconds, Nanos: 0}, false, time.Unix(maxValidSeconds, 0).UTC()}, 75 time.Date(2011, 1, 26, 3, 25, 45, 940483, time.UTC)}, 98 want := time.Unix(0, 0).UTC() 137 return time.Date(year, time.Month(month), day, 0, 0, 0, 0, time.UTC)
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
TCKClockSerialization.java | 110 assertSerializable(Clock.fixed(INSTANT, ZoneOffset.UTC));
|