Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTime.java380 .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()
DAbstractChronology.java143 … cmp = Long.compare(dateTime1.toLocalTime().toNanoOfDay(), dateTime2.toLocalTime().toNanoOfDay());
DChronoLocalDateTimeImpl.java355 long curNoD = time.toNanoOfDay(); // max 86400000000000 in plusWithOverflow()
/libcore/ojluni/src/main/java/java/time/
DLocalTime.java645 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()
DLocalDateTime.java1560 long curNoD = time.toNanoOfDay(); // max 86400000000000 in plusWithOverflow()
1684 long timePart = end.time.toNanoOfDay() - time.toNanoOfDay(); in until()
DOffsetTime.java1116 .with(NANO_OF_DAY, time.toNanoOfDay()) in adjustInto()
1224 long nod = time.toNanoOfDay(); in toEpochNano()
DOffsetDateTime.java1591 .with(NANO_OF_DAY, toLocalTime().toNanoOfDay()) in adjustInto()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestLocalTime.java198 diff = test.toNanoOfDay() - expected.toNanoOfDay(); in now()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKIsoChronology.java202 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/
DTCKOffsetDateTime.java244 … long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now()
249 … diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now()
DTCKLocalTime.java2420 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);
DTCKZonedDateTime.java233 … long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now()
238 … diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now()
DTCKLocalDateTime.java265 … long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now()
270 … diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now()
DTCKOffsetTime.java213 … long diff = Math.abs(test.toLocalTime().toNanoOfDay() - expected.toLocalTime().toNanoOfDay()); in now()