HomeSort by relevance Sort by last modified time
    Searched refs:UTC (Results 76 - 100 of 245) sorted by null

1 2 34 5 6 7 8 910

  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
CalendarTestFmwk.java 53 public final static SimpleTimeZone UTC = new SimpleTimeZone(0, "GMT");
77 cal.setTimeZone(UTC);
90 gregFormat.setTimeZone(UTC);
92 GregorianCalendar pureGreg = new GregorianCalendar(UTC);
  /libcore/luni/src/test/java/libcore/java/time/chrono/
IsoChronologyTest.java 114 IsoChronology.INSTANCE.zonedDateTime(null, ZoneOffset.UTC);
  /libcore/ojluni/src/test/java/time/tck/java/time/format/
TCKSignStyle.java 123 formatter = formatter.withZone(ZoneOffset.UTC);
TCKInstantPrinterParser.java 253 Instant expected = OffsetDateTime.of(1970, 2, 4, 0, 0, 0, 0, ZoneOffset.UTC).toInstant();
265 Instant expected = OffsetDateTime.of(1970, 2, 3, 23, 59, 59, 123456789, ZoneOffset.UTC).toInstant();
  /libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/
TCKZoneOffsetTransitionRuleSerialization.java 99 Month.MARCH, 20, DayOfWeek.FRIDAY, LocalTime.MIDNIGHT, true, TimeDefinition.UTC,
  /build/soong/third_party/zip/
struct.go 163 time.UTC,
171 t = t.In(time.UTC)
177 // ModTime returns the modification time in UTC.
183 // SetModTime sets the ModifiedTime and ModifiedDate fields to the given time in UTC.
  /libcore/luni/src/test/java/libcore/java/time/
DurationTest.java 84 { ZonedDateTime.of(LocalDateTime.MAX, ZoneOffset.UTC ), Duration.ofNanos(1) },
112 { ZonedDateTime.of(LocalDateTime.MIN, ZoneOffset.UTC ), Duration.ofNanos(1) },
  /libcore/ojluni/src/main/java/java/time/
ZoneId.java 96 * <li>Fixed offsets - a fully resolved offset from UTC/Greenwich, that uses
99 * the offset from UTC/Greenwich apply
123 * such as 'GMT+2' or 'UTC+01:00'.
124 * The recognised prefixes are 'UTC', 'GMT' and 'UT'.
129 * two or more characters, and not start with 'UTC', 'GMT', 'UT' '+' or '-'.
147 * However, the airport of Utrecht has the code 'UTC', which is obviously a conflict.
149 * Thus if IATA data were defined, Utrecht airport would be 'IATA~UTC'.
154 * offset from UTC/Greenwich.
323 * <li>If the zone ID equals 'Z', the result is {@code ZoneOffset.UTC}.
328 * <li>If the zone ID equals 'GMT', 'UTC' or 'UT' then the result is a {@code ZoneId
    [all...]
  /libcore/ojluni/src/main/java/java/util/
TimeZone.java 170 private static final TimeZone UTC = new SimpleTimeZone(0, "UTC");
174 * daylight savings. This is the offset to add to UTC to get local time.
199 * Returns the offset of this time zone from UTC at the specified
209 * @return the amount of time in milliseconds to add to UTC to get local time.
253 * This is the offset to add to UTC to get local time.
266 * Returns the amount of time in milliseconds to add to UTC to get
278 * @return the amount of raw offset time in milliseconds to add to UTC.
424 * Returns a string representation of an offset from UTC.
431 * @param offsetMillis the offset from UTC
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/zone/
TCKFixedZoneRules.java 140 assertEquals(test.isValidOffset(LDT, ZoneOffset.UTC), false);
144 assertEquals(test.isValidOffset(null, ZoneOffset.UTC), false);
  /prebuilts/go/darwin-x86/src/time/
zoneinfo_windows.go 116 // It is up to the caller to convert this local time into a UTC-based time.
124 t := Date(year, Month(d.Month), day, int(d.Hour), int(d.Minute), int(d.Second), 0, UTC)
193 t := Now().UTC()
238 localLoc.name = "UTC"
time.go 44 // Because t.In, t.Local, and t.UTC are used for their effect on the interpretation
90 // The zero value of type Time is January 1, year 1, 00:00:00.000000000 UTC.
96 // The methods Local, UTC, and In return a Time with a specific location.
110 // through use of the UTC or Local method, and that the monotonic clock reading
134 // The nil location means UTC.
135 // All UTC times are represented with loc==nil, never loc==&utcLoc.
249 // For example, 6:00 +0200 CEST and 4:00 UTC are Equal.
331 // January 1, year 1, 00:00:00.000000000 UTC
333 // (1-1-1 00:00:00 UTC), (2) is unlikely enough to arise in practice to
335 // non-negative year even in time zones west of UTC, unlike 1-1-
    [all...]
  /prebuilts/go/linux-x86/src/time/
zoneinfo_windows.go 116 // It is up to the caller to convert this local time into a UTC-based time.
124 t := Date(year, Month(d.Month), day, int(d.Hour), int(d.Minute), int(d.Second), 0, UTC)
193 t := Now().UTC()
238 localLoc.name = "UTC"
time.go 44 // Because t.In, t.Local, and t.UTC are used for their effect on the interpretation
90 // The zero value of type Time is January 1, year 1, 00:00:00.000000000 UTC.
96 // The methods Local, UTC, and In return a Time with a specific location.
110 // through use of the UTC or Local method, and that the monotonic clock reading
134 // The nil location means UTC.
135 // All UTC times are represented with loc==nil, never loc==&utcLoc.
249 // For example, 6:00 +0200 CEST and 4:00 UTC are Equal.
331 // January 1, year 1, 00:00:00.000000000 UTC
333 // (1-1-1 00:00:00 UTC), (2) is unlikely enough to arise in practice to
335 // non-negative year even in time zones west of UTC, unlike 1-1-
    [all...]
  /prebuilts/go/darwin-x86/src/database/sql/
convert_test.go 88 {s: time.Unix(1, 0).UTC(), d: &scanstr, wantstr: "1970-01-01T00:00:01Z"},
90 {s: time.Unix(1, 2).UTC(), d: &scanstr, wantstr: "1970-01-01T00:00:01.000000002Z"},
92 {s: time.Unix(1, 2).UTC(), d: &scanbytes, wantbytes: []byte("1970-01-01T00:00:01.000000002Z")},
93 {s: time.Unix(1, 2).UTC(), d: &scaniface, wantiface: time.Unix(1, 2).UTC()},
122 {s: time.Unix(2, 5).UTC(), d: &scanraw, wantraw: RawBytes("1970-01-01T00:00:02.000000005Z")},
357 {"time", time.Unix(2, 5).UTC(), "1970-01-01T00:00:02.000000005Z"},
  /prebuilts/go/linux-x86/src/database/sql/
convert_test.go 88 {s: time.Unix(1, 0).UTC(), d: &scanstr, wantstr: "1970-01-01T00:00:01Z"},
90 {s: time.Unix(1, 2).UTC(), d: &scanstr, wantstr: "1970-01-01T00:00:01.000000002Z"},
92 {s: time.Unix(1, 2).UTC(), d: &scanbytes, wantbytes: []byte("1970-01-01T00:00:01.000000002Z")},
93 {s: time.Unix(1, 2).UTC(), d: &scaniface, wantiface: time.Unix(1, 2).UTC()},
122 {s: time.Unix(2, 5).UTC(), d: &scanraw, wantraw: RawBytes("1970-01-01T00:00:02.000000005Z")},
357 {"time", time.Unix(2, 5).UTC(), "1970-01-01T00:00:02.000000005Z"},
  /prebuilts/go/darwin-x86/src/net/http/
fs_test.go 288 modtime: time.Unix(1000000000, 0).UTC(),
320 dirMod := time.Unix(123, 0).UTC()
321 fileMod := time.Unix(1000000000, 0).UTC()
667 fileMod := time.Unix(1000000000, 0).UTC()
669 dirMod := time.Unix(123, 0).UTC()
786 wantLastMod: htmlModTime.UTC().Format(TimeFormat),
794 "If-Modified-Since": htmlModTime.UTC().Format(TimeFormat),
804 "If-Modified-Since": htmlModTime.UTC().Format(TimeFormat),
888 modtime: time.Date(2014, 6, 25, 17, 12, 18, 0 /* nanos */, time.UTC),
900 modtime: time.Date(2014, 6, 25, 17, 12, 18, 0 /* nanos */, time.UTC),
    [all...]
cookie_test.go 61 &Cookie{Name: "cookie-10", Value: "expiring-1601", Expires: time.Date(1601, 1, 1, 1, 1, 1, 1, time.UTC)},
65 &Cookie{Name: "cookie-11", Value: "invalid-expiry", Expires: time.Date(1600, 1, 1, 1, 1, 1, 1, time.UTC)},
217 Expires: time.Date(2011, 11, 23, 1, 5, 3, 0, time.UTC),
228 Expires: time.Date(2012, 3, 7, 14, 25, 6, 0, time.UTC),
477 Expires: time.Date(2011, 11, 23, 1, 5, 3, 0, time.UTC),
485 Expires: time.Date(2012, 3, 7, 14, 25, 6, 0, time.UTC),
  /prebuilts/go/linux-x86/src/net/http/
fs_test.go 288 modtime: time.Unix(1000000000, 0).UTC(),
320 dirMod := time.Unix(123, 0).UTC()
321 fileMod := time.Unix(1000000000, 0).UTC()
667 fileMod := time.Unix(1000000000, 0).UTC()
669 dirMod := time.Unix(123, 0).UTC()
786 wantLastMod: htmlModTime.UTC().Format(TimeFormat),
794 "If-Modified-Since": htmlModTime.UTC().Format(TimeFormat),
804 "If-Modified-Since": htmlModTime.UTC().Format(TimeFormat),
888 modtime: time.Date(2014, 6, 25, 17, 12, 18, 0 /* nanos */, time.UTC),
900 modtime: time.Date(2014, 6, 25, 17, 12, 18, 0 /* nanos */, time.UTC),
    [all...]
cookie_test.go 61 &Cookie{Name: "cookie-10", Value: "expiring-1601", Expires: time.Date(1601, 1, 1, 1, 1, 1, 1, time.UTC)},
65 &Cookie{Name: "cookie-11", Value: "invalid-expiry", Expires: time.Date(1600, 1, 1, 1, 1, 1, 1, time.UTC)},
217 Expires: time.Date(2011, 11, 23, 1, 5, 3, 0, time.UTC),
228 Expires: time.Date(2012, 3, 7, 14, 25, 6, 0, time.UTC),
477 Expires: time.Date(2011, 11, 23, 1, 5, 3, 0, time.UTC),
485 Expires: time.Date(2012, 3, 7, 14, 25, 6, 0, time.UTC),
  /prebuilts/go/darwin-x86/src/archive/zip/
reader_test.go 96 Modified: time.Date(2010, 3, 4, 0, 24, 16, 0, time.UTC),
125 Modified: time.Date(2011, 2, 2, 13, 6, 20, 0, time.UTC),
137 Modified: time.Date(2011, 12, 8, 10, 4, 24, 0, time.UTC),
143 Modified: time.Date(2011, 12, 8, 10, 4, 50, 0, time.UTC),
149 Modified: time.Date(2011, 12, 8, 10, 8, 6, 0, time.UTC),
155 Modified: time.Date(2011, 12, 8, 10, 6, 8, 0, time.UTC),
217 Modified: time.Date(1979, 11, 30, 0, 0, 0, 0, time.UTC),
223 Modified: time.Date(1979, 11, 30, 0, 0, 0, 0, time.UTC),
235 Modified: time.Date(1979, 11, 30, 0, 0, 0, 0, time.UTC),
242 Modified: time.Date(1979, 11, 30, 0, 0, 0, 0, time.UTC),
    [all...]
  /prebuilts/go/linux-x86/src/archive/zip/
reader_test.go 96 Modified: time.Date(2010, 3, 4, 0, 24, 16, 0, time.UTC),
125 Modified: time.Date(2011, 2, 2, 13, 6, 20, 0, time.UTC),
137 Modified: time.Date(2011, 12, 8, 10, 4, 24, 0, time.UTC),
143 Modified: time.Date(2011, 12, 8, 10, 4, 50, 0, time.UTC),
149 Modified: time.Date(2011, 12, 8, 10, 8, 6, 0, time.UTC),
155 Modified: time.Date(2011, 12, 8, 10, 6, 8, 0, time.UTC),
217 Modified: time.Date(1979, 11, 30, 0, 0, 0, 0, time.UTC),
223 Modified: time.Date(1979, 11, 30, 0, 0, 0, 0, time.UTC),
235 Modified: time.Date(1979, 11, 30, 0, 0, 0, 0, time.UTC),
242 Modified: time.Date(1979, 11, 30, 0, 0, 0, 0, time.UTC),
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/job/controllers/
ConnectivityControllerTest.java 88 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC);
90 Clock.fixed(SystemClock.uptimeMillisClock().instant(), ZoneOffset.UTC);
92 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC);
  /libcore/ojluni/src/test/java/time/tck/java/time/
TCKOffsetTime.java 225 Clock clock = Clock.fixed(instant, ZoneOffset.UTC);
231 assertEquals(test.getOffset(), ZoneOffset.UTC);
239 Clock clock = Clock.fixed(instant, ZoneOffset.UTC);
245 assertEquals(test.getOffset(), ZoneOffset.UTC);
251 Instant base = LocalDateTime.of(1970, 1, 1, 12, 0).toInstant(ZoneOffset.UTC);
322 OffsetTime.ofInstant((Instant) null, ZoneOffset.UTC);
335 OffsetTime test = OffsetTime.ofInstant(instant, ZoneOffset.UTC);
347 OffsetTime test = OffsetTime.ofInstant(instant, ZoneOffset.UTC);
358 OffsetTime test = OffsetTime.ofInstant(Instant.MAX, ZoneOffset.UTC);
367 OffsetTime test = OffsetTime.ofInstant(Instant.MIN, ZoneOffset.UTC);
    [all...]
  /external/perfetto/infra/perfetto-ci.appspot.com/static/
script.js 134 const lastUpdate = new Date(cl.updated + ' UTC');

Completed in 1249 milliseconds

1 2 34 5 6 7 8 910