/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/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);
|
/prebuilts/go/darwin-x86/src/time/ |
zoneinfo.go | 29 // since January 1, 1970 UTC, to match the argument 39 offset int // seconds east of UTC 57 // UTC represents Universal Coordinated Time (UTC). 58 var UTC *Location = &utcLoc 62 // even if a badly behaved client has changed UTC. 63 var utcLoc = Location{name: "UTC"} 90 // the given zone name and offset (seconds east of UTC). 104 // instant in time expressed as seconds since January 1, 1970 00:00:00 UTC. 108 // the offset in seconds east of UTC (such as -5*60*60), and whethe [all...] |
zoneinfo_unix.go | 53 // $TZ="" means use UTC. 65 case tz != "" && tz != "UTC": 72 // Fall back to UTC. 73 localLoc.name = "UTC"
|
example_test.go | 55 t := time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC) 74 fmt.Println("Same, in UTC:", t.UTC().Format(time.UnixDate)) 160 // Same, in UTC: Sat Mar 7 19:06:39 UTC 2015 190 // Note: without explicit zone, returns time in UTC. 197 // 2013-02-03 00:00:00 +0000 UTC 218 t := time.Date(0, 0, 0, 12, 15, 30, 918273645, time.UTC)
|
zoneinfo_plan9.go | 56 return UTC, nil 145 // Fall back to UTC. 146 localLoc.name = "UTC"
|
zoneinfo_ios.go | 41 localLoc = *UTC
|
/prebuilts/go/linux-x86/src/time/ |
zoneinfo.go | 29 // since January 1, 1970 UTC, to match the argument 39 offset int // seconds east of UTC 57 // UTC represents Universal Coordinated Time (UTC). 58 var UTC *Location = &utcLoc 62 // even if a badly behaved client has changed UTC. 63 var utcLoc = Location{name: "UTC"} 90 // the given zone name and offset (seconds east of UTC). 104 // instant in time expressed as seconds since January 1, 1970 00:00:00 UTC. 108 // the offset in seconds east of UTC (such as -5*60*60), and whethe [all...] |
zoneinfo_unix.go | 53 // $TZ="" means use UTC. 65 case tz != "" && tz != "UTC": 72 // Fall back to UTC. 73 localLoc.name = "UTC"
|
example_test.go | 55 t := time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC) 74 fmt.Println("Same, in UTC:", t.UTC().Format(time.UnixDate)) 160 // Same, in UTC: Sat Mar 7 19:06:39 UTC 2015 190 // Note: without explicit zone, returns time in UTC. 197 // 2013-02-03 00:00:00 +0000 UTC 218 t := time.Date(0, 0, 0, 12, 15, 30, 918273645, time.UTC)
|
zoneinfo_plan9.go | 56 return UTC, nil 145 // Fall back to UTC. 146 localLoc.name = "UTC"
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
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...] |
/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/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()},
|
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 34 private static final TimeZone UTC = TimeZone.getTimeZone("Etc/UTC"); 56 sdf.setTimeZone(UTC); 186 format.setTimeZone(UTC); 201 return formatDate(l, fmt, UTC); 212 sdf.setTimeZone(UTC); 219 * Parse a date with a SimpleDateFormat set to use UTC. If fmt contains a pattern for zone the 220 * use of UTC should have no effect, but in other cases it can affect the outcome. The returned 221 * calendar will also be set to UTC. 224 return parseDate(l, fmt, value, UTC); [all...] |
/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);
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
TCKClockSerialization.java | 110 assertSerializable(Clock.fixed(INSTANT, ZoneOffset.UTC));
|
/prebuilts/go/darwin-x86/src/encoding/asn1/ |
marshal_test.go | 106 {time.Unix(0, 0).UTC(), "170d3730303130313030303030305a"}, 107 {time.Unix(1258325776, 0).UTC(), "170d3039313131353232353631365a"}, 110 {generalizedTimeTest{time.Unix(1258325776, 0).UTC()}, "3011180f32303039313131353232353631365a"},
|
/prebuilts/go/linux-x86/src/encoding/asn1/ |
marshal_test.go | 106 {time.Unix(0, 0).UTC(), "170d3730303130313030303030305a"}, 107 {time.Unix(1258325776, 0).UTC(), "170d3039313131353232353631365a"}, 110 {generalizedTimeTest{time.Unix(1258325776, 0).UTC()}, "3011180f32303039313131353232353631365a"},
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
TestCase.java | 131 GregorianCalendar greg = new GregorianCalendar(UTC, Locale.getDefault()); 245 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT");
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
TestCase.java | 130 GregorianCalendar greg = new GregorianCalendar(UTC, Locale.getDefault()); 244 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT");
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
TestJapaneseChronoImpl.java | 108 OffsetDateTime jodt = OffsetDateTime.of(isoStartDate, LocalTime.MIN, ZoneOffset.UTC); 135 OffsetDateTime jodt = OffsetDateTime.of(LocalDate.from(jd), LocalTime.MIN, ZoneOffset.UTC);
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
TextTime.java | 45 /** UTC does not have DST rules and will not alter the {@link #mHour} and {@link #mMinute}. */ 46 private static final TimeZone UTC = TimeZone.getTimeZone("UTC"); 166 // Format the time relative to UTC to ensure hour and minute are not adjusted for DST. 168 calendar.setTimeZone(UTC);
|
/prebuilts/go/darwin-x86/src/sync/ |
example_pool_test.go | 33 b.WriteString(timeNow().UTC().Format(time.RFC3339))
|
/prebuilts/go/linux-x86/src/sync/ |
example_pool_test.go | 33 b.WriteString(timeNow().UTC().Format(time.RFC3339))
|