Searched refs:toNanoOfDay (Results 1 – 14 of 14) sorted by relevance
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDateTime.java | 380 .with(NANO_OF_DAY, toLocalTime().toNanoOfDay()); in adjustInto() 528 … (thisEpDay == otherEpDay && this.toLocalTime().toNanoOfDay() > other.toLocalTime().toNanoOfDay()); in isAfter() 549 … (thisEpDay == otherEpDay && this.toLocalTime().toNanoOfDay() < other.toLocalTime().toNanoOfDay()); in isBefore() 568 return this.toLocalTime().toNanoOfDay() == other.toLocalTime().toNanoOfDay() && in isEqual()
|
D | AbstractChronology.java | 143 … cmp = Long.compare(dateTime1.toLocalTime().toNanoOfDay(), dateTime2.toLocalTime().toNanoOfDay());
|
D | ChronoLocalDateTimeImpl.java | 355 long curNoD = time.toNanoOfDay(); // max 86400000000000 in plusWithOverflow()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 645 return toNanoOfDay(); in getLong() 648 return toNanoOfDay() / 1000; in getLong() 662 case MILLI_OF_DAY: return (int) (toNanoOfDay() / 1000_000); in get0() 955 long nod = toNanoOfDay(); in truncatedTo() 1141 long nofd = toNanoOfDay(); in plusNanos() 1327 return temporal.with(NANO_OF_DAY, toNanoOfDay()); in adjustInto() 1381 long nanosUntil = end.toNanoOfDay() - toNanoOfDay(); // no overflow in until() 1457 public long toNanoOfDay() { in toNanoOfDay() method in LocalTime 1550 long nod = toNanoOfDay(); in hashCode()
|
D | LocalDateTime.java | 1560 long curNoD = time.toNanoOfDay(); // max 86400000000000 in plusWithOverflow() 1684 long timePart = end.time.toNanoOfDay() - time.toNanoOfDay(); in until()
|
D | OffsetTime.java | 1116 .with(NANO_OF_DAY, time.toNanoOfDay()) in adjustInto() 1224 long nod = time.toNanoOfDay(); in toEpochNano()
|
D | OffsetDateTime.java | 1591 .with(NANO_OF_DAY, toLocalTime().toNanoOfDay()) in adjustInto()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalTime.java | 198 diff = test.toNanoOfDay() - expected.toNanoOfDay(); in now()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKIsoChronology.java | 202 return LocalTime.of(12, 30, 40).toNanoOfDay(); in test_localDateTime_TemporalAccessor() 251 return LocalTime.of(12, 30, 40).toNanoOfDay(); in test_zonedDateTime_TemporalAccessor()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKOffsetDateTime.java | 244 … long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now() 249 … diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now()
|
D | TCKLocalTime.java | 2420 assertEquals(t.toNanoOfDay(), i); 2426 assertEquals(t.toNanoOfDay(), 24 * 60 * 60 * 1000000000L - i); 2434 assertEquals(LocalTime.ofNanoOfDay(t.toNanoOfDay()), t); 2440 assertEquals(LocalTime.ofNanoOfDay(t.toNanoOfDay()), t);
|
D | TCKZonedDateTime.java | 233 … long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now() 238 … diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now()
|
D | TCKLocalDateTime.java | 265 … long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now() 270 … diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now()
|
D | TCKOffsetTime.java | 213 … long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now()
|