Home
last modified time | relevance | path

Searched refs:_999_999 (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/android/system/
DStructTimespecTest.java44 val = new StructTimespec(Long.MAX_VALUE, 999_999_999); in testConstructor()
46 assertEquals(999_999_999, val.tv_nsec); in testConstructor()
74 new StructTimespec(Long.MAX_VALUE, 999_999_999)}; in testCompare()
/libcore/luni/src/main/java/android/system/
DStructTimespec.java34 if (tv_nsec < 0 || tv_nsec > 999_999_999) { in StructTimespec()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKInstant.java183 check(Instant.MAX, 31556889864403199L, 999_999_999); in constant_MAX()
1785 {0, 0, -1, 999_999_999, MINUTES, 0L},
1787 {0, 0, 59, 999_999_999, MINUTES, 0L},
1792 {0, 0, -1, 999_999_999, HOURS, 0L},
1794 {0, 0, 3599, 999_999_999, HOURS, 0L},
1799 {0, 0, -1, 999_999_999, DAYS, 0L},
1801 {0, 0, 86399, 999_999_999, DAYS, 0L},
2098 …{LocalDateTime.of(-1, 12, 31, 23, 59, 59, 999_999_999).toInstant(ZoneOffset.UTC), "-0001-12-31T23:…
2106 …{LocalDateTime.of(-10000, 12, 31, 23, 59, 59, 999_999_999).toInstant(ZoneOffset.UTC), "-10000-12-3…
2115 …{LocalDateTime.of(-20000, 12, 31, 23, 59, 59, 999_999_999).toInstant(ZoneOffset.UTC), "-20000-12-3…
[all …]
DTCKClock_Tick.java139 Clock.tick(Clock.systemUTC(), Duration.ofSeconds(0, 999_999_999)); in test_tick_ClockDuration_subMilliNotDivisible_999_999_999ns()
DTCKZonedDateTime.java2112 {LocalDateTime.of(1970, 1, 1, 0, 0, 0, 999_999_999), 0L, 999_999_999},
2115 {LocalDateTime.of(1969, 12, 31, 23, 59, 59, 999999999), -1L, 999_999_999},
DTCKOffsetTime.java362 assertEquals(test.getNano(), 999_999_999);
DTCKLocalTime.java297 assertEquals(test.getNano(), 999_999_999); in now_Clock_max() local
DTCKLocalDateTime.java768 …{OffsetDateTime.of(LocalDateTime.of(Year.MAX_VALUE, 12, 31, 23, 59, 59, 999_999_999), ZoneOffset.U…
/libcore/ojluni/src/main/java/java/time/temporal/
DChronoUnit.java190 FOREVER("Forever", Duration.ofSeconds(Long.MAX_VALUE, 999_999_999));
DChronoField.java122 NANO_OF_SECOND("NanoOfSecond", NANOS, SECONDS, ValueRange.of(0, 999_999_999)),
/libcore/ojluni/src/main/java/java/time/
DYear.java135 public static final int MIN_VALUE = -999_999_999;
139 public static final int MAX_VALUE = 999_999_999;
DInstant.java237 public static final Instant MAX = Instant.ofEpochSecond(MAX_SECOND, 999_999_999);
DLocalTime.java151 MAX = new LocalTime(23, 59, 59, 999_999_999);
/libcore/luni/src/test/java/libcore/java/time/
DDurationTest.java45 public static final Duration MAX_DURATION = Duration.ofSeconds(Long.MAX_VALUE, 999_999_999);