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

1 2 3 45 6 7 8 910

  /libcore/luni/src/test/java/libcore/java/time/chrono/
JapaneseChronologyTest.java 55 JapaneseChronology.INSTANCE.zonedDateTime(null, ZoneOffset.UTC);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DateTest.java 475 * java.util.Date#UTC(int, int, int, int, int, int)
478 // Test for method long java.util.Date.UTC(int, int, int, int, int, int)
479 assertTrue("Returned incorrect UTC value for epoch", Date.UTC(70, 0, 1,
481 assertTrue("Returned incorrect UTC value for epoch +1yr", Date.UTC(71,
  /libcore/ojluni/src/main/java/java/nio/file/attribute/
FileTime.java 428 ldt = LocalDateTime.ofEpochSecond(lo - SECONDS_0000_TO_1970, nanos, ZoneOffset.UTC);
435 ldt = LocalDateTime.ofEpochSecond(lo - SECONDS_0000_TO_1970, nanos, ZoneOffset.UTC);
  /prebuilts/go/darwin-x86/src/time/
format.go 43 // offset for the UTC zone. Thus:
59 // only to local times. Applying them to UTC times will use "UTC" as the
111 stdISO8601TZ // "Z0700" // prints Z for UTC
114 stdISO8601ColonTZ // "Z07:00" // prints Z for UTC
752 // corresponding to Jan 1, year 0, 15:04:00 UTC (note that because the year is
757 // In the absence of a time zone indicator, Parse returns a time in UTC.
766 // The zone abbreviation "UTC" is recognized as UTC regardless of location.
774 return parse(layout, value, UTC, Local
    [all...]
zoneinfo_android.go 24 localLoc = *UTC
format_test.go 22 {Date(2008, 9, 17, 20, 4, 26, 0, UTC), "2008-09-17T20:04:26Z"},
79 time := Date(2001, 2, 3, 4, 5, 6, 700000000, UTC)
103 time := Date(y, January, 1, 0, 0, 0, 0, UTC)
485 noon := Date(0, January, 1, 12, 0, 0, 0, UTC)
498 midnight := Date(0, January, 1, 0, 0, 0, 0, UTC)
  /prebuilts/go/linux-x86/src/time/
format.go 43 // offset for the UTC zone. Thus:
59 // only to local times. Applying them to UTC times will use "UTC" as the
111 stdISO8601TZ // "Z0700" // prints Z for UTC
114 stdISO8601ColonTZ // "Z07:00" // prints Z for UTC
752 // corresponding to Jan 1, year 0, 15:04:00 UTC (note that because the year is
757 // In the absence of a time zone indicator, Parse returns a time in UTC.
766 // The zone abbreviation "UTC" is recognized as UTC regardless of location.
774 return parse(layout, value, UTC, Local
    [all...]
zoneinfo_android.go 24 localLoc = *UTC
format_test.go 22 {Date(2008, 9, 17, 20, 4, 26, 0, UTC), "2008-09-17T20:04:26Z"},
79 time := Date(2001, 2, 3, 4, 5, 6, 700000000, UTC)
103 time := Date(y, January, 1, 0, 0, 0, 0, UTC)
485 noon := Date(0, January, 1, 12, 0, 0, 0, UTC)
498 midnight := Date(0, January, 1, 0, 0, 0, 0, UTC)
  /frameworks/base/services/tests/servicestests/src/com/android/server/job/
JobStoreTest.java 86 Clock.fixed(Clock.systemUTC().instant(), ZoneOffset.UTC);
88 Clock.fixed(SystemClock.uptimeMillisClock().instant(), ZoneOffset.UTC);
90 Clock.fixed(SystemClock.elapsedRealtimeClock().instant(), ZoneOffset.UTC);
  /build/soong/jar/
jar.go 34 var DefaultTime = time.Date(2008, 1, 1, 0, 0, 0, 0, time.UTC)
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
HebrewTest.java 86 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault());
125 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault());
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
HebrewTest.java 83 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault());
122 HebrewCalendar cal = new HebrewCalendar(UTC, Locale.getDefault());
  /external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
Timestamp.cs 45 /// nanosecond resolution in UTC Epoch time. It is encoded using the
128 /// Represents seconds of UTC time since Unix epoch
  /libcore/ojluni/src/main/java/java/time/
Clock.java 118 * The Java Time-Scale mandates the use of UTC-SLS, however clock implementations may choose
120 * Implementations are therefore not required to actually perform the UTC-SLS slew or to
138 * system clock, converting to date and time using the UTC time-zone.
147 * Conversion from instant to date or time uses the {@linkplain ZoneOffset#UTC UTC time-zone}.
150 * It is equivalent to {@code system(ZoneOffset.UTC)}.
152 * @return a clock that uses the best available system clock in the UTC zone, not null
155 return new SystemClock(ZoneOffset.UTC);
168 * The {@link #systemUTC() UTC clock} should be used when you need the current instant
383 * This returns the millisecond-based instant, measured from 1970-01-01T00:00Z (UTC)
    [all...]
  /libcore/ojluni/src/main/java/java/time/zone/
IcuZoneRulesProvider.java 275 timeDefinition = ZoneOffsetTransitionRule.TimeDefinition.UTC;
  /libcore/ojluni/src/test/java/time/tck/java/time/
TCKLocalDateTime.java 171 MAX_INSTANT = MAX_DATE_TIME.atZone(ZoneOffset.UTC).toInstant();
172 MIN_INSTANT = MIN_DATE_TIME.atZone(ZoneOffset.UTC).toInstant();
285 ZoneId zone = ZoneId.of("UTC+01:02:03");
310 Clock clock = Clock.fixed(instant, ZoneOffset.UTC);
343 Clock clock = Clock.fixed(instant, ZoneOffset.UTC);
356 Clock clock = Clock.fixed(MAX_INSTANT, ZoneOffset.UTC);
363 Clock clock = Clock.fixed(MAX_INSTANT.plusSeconds(24 * 60 * 60), ZoneOffset.UTC);
369 Clock clock = Clock.fixed(MIN_INSTANT, ZoneOffset.UTC);
376 Clock clock = Clock.fixed(MIN_INSTANT.minusNanos(1), ZoneOffset.UTC);
766 {OffsetDateTime.of(LocalDateTime.of(Year.MIN_VALUE, 1, 1, 0, 0), ZoneOffset.UTC).toInstant()
    [all...]
TCKOffsetDateTime.java 261 Clock clock = Clock.fixed(instant, ZoneOffset.UTC);
270 assertEquals(test.getOffset(), ZoneOffset.UTC);
296 Clock clock = Clock.fixed(instant, ZoneOffset.UTC);
303 assertEquals(test.getOffset(), ZoneOffset.UTC);
309 OffsetDateTime base = OffsetDateTime.of(1970, 1, 1, 12, 0, 0, 0, ZoneOffset.UTC);
674 {OffsetDateTime.of(2012, 3, 4, 23, 5, 0, 0, OFFSET_PONE), OffsetDateTime.of(2012, 3, 4, 1, 1, 1, 100, ZoneOffset.UTC), OffsetDateTime.of(2012, 3, 4, 23, 5, 0, 0, OFFSET_PONE), null},
    [all...]
TCKZonedDateTime.java 253 ZoneId zone = ZoneId.of("UTC+01:02:03");
278 Clock clock = Clock.fixed(instant, ZoneOffset.UTC);
287 assertEquals(test.getOffset(), ZoneOffset.UTC);
288 assertEquals(test.getZone(), ZoneOffset.UTC);
309 Clock clock = Clock.fixed(instant, ZoneOffset.UTC);
316 assertEquals(test.getOffset(), ZoneOffset.UTC);
317 assertEquals(test.getZone(), ZoneOffset.UTC);
323 ZonedDateTime base = ZonedDateTime.of(LocalDateTime.of(1970, 1, 1, 12, 0), ZoneOffset.UTC);
492 ZonedDateTime expected = LocalDateTime.of(1970, 1, 1, 0, 0, 0, 0).atZone(ZoneOffset.UTC);
495 ZonedDateTime test = ZonedDateTime.ofInstant(instant, ZoneOffset.UTC);
    [all...]
TCKLocalDate.java 162 MAX_INSTANT = max.atStartOfDay(ZoneOffset.UTC).toInstant();
163 MIN_INSTANT = min.atStartOfDay(ZoneOffset.UTC).toInstant();
253 ZoneId zone = ZoneId.of("UTC+01:02:03");
278 Clock clock = Clock.fixed(instant, ZoneOffset.UTC);
302 Clock clock = Clock.fixed(instant, ZoneOffset.UTC);
313 Clock clock = Clock.fixed(MAX_INSTANT, ZoneOffset.UTC);
320 Clock clock = Clock.fixed(MAX_INSTANT.plusSeconds(24 * 60 * 60), ZoneOffset.UTC);
326 Clock clock = Clock.fixed(MIN_INSTANT, ZoneOffset.UTC);
333 Clock clock = Clock.fixed(MIN_INSTANT.minusNanos(1), ZoneOffset.UTC);
    [all...]
  /prebuilts/go/darwin-x86/src/archive/zip/
reader.go 366 epoch := time.Date(1601, time.January, 1, 0, 0, 0, 0, time.UTC)
394 f.Modified = modified.UTC()
399 // A non-UTC timezone is always used (even if offset is zero).
400 // Thus, FileHeader.Modified.Location() == time.UTC is useful for
  /prebuilts/go/darwin-x86/src/log/
log_test.go 140 now := time.Now().UTC()
  /prebuilts/go/darwin-x86/src/net/http/
header_test.go 116 expect := time.Date(1994, 11, 6, 8, 49, 37, 0, time.UTC)
  /prebuilts/go/linux-x86/src/archive/zip/
reader.go 366 epoch := time.Date(1601, time.January, 1, 0, 0, 0, 0, time.UTC)
394 f.Modified = modified.UTC()
399 // A non-UTC timezone is always used (even if offset is zero).
400 // Thus, FileHeader.Modified.Location() == time.UTC is useful for
  /prebuilts/go/linux-x86/src/log/
log_test.go 140 now := time.Now().UTC()

Completed in 637 milliseconds

1 2 3 45 6 7 8 910