Home
last modified time | relevance | path

Searched refs:ofNanoOfDay (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DLocalTime.java360 return ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + instant.getNano()); in ofInstant()
392 public static LocalTime ofNanoOfDay(long nanoOfDay) { in ofNanoOfDay() method in LocalTime
856 case NANO_OF_DAY: return LocalTime.ofNanoOfDay(newValue); in with()
858 case MICRO_OF_DAY: return LocalTime.ofNanoOfDay(newValue * 1000); in with()
860 case MILLI_OF_DAY: return LocalTime.ofNanoOfDay(newValue * 1000_000); in with()
979 return ofNanoOfDay((nod / dur) * dur); in truncatedTo()
DLocalDateTime.java417 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + nanoOfSecond); in ofEpochSecond()
1564 LocalTime newTime = (newNoD == curNoD ? time : LocalTime.ofNanoOfDay(newNoD)); in plusWithOverflow()
DOffsetTime.java256 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + instant.getNano()); in ofInstant()
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporalQueries.java393 return LocalTime.ofNanoOfDay(temporal.getLong(NANO_OF_DAY));
/libcore/ojluni/src/test/java/time/test/java/time/
DTestLocalTime.java178 LocalTime test1 = LocalTime.ofNanoOfDay(i * 1000000000L * 60L * 60L); in factory_ofNanoOfDay_singletons()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalTime.java483 LocalTime localTime = LocalTime.ofNanoOfDay(60 * 60 * 1000000000L + 17); in factory_ofNanoOfDay()
489 LocalTime.ofNanoOfDay(-1); in factory_ofNanoOfDay_tooLow()
494 LocalTime.ofNanoOfDay(24 * 60 * 60 * 1000000000L); in factory_ofNanoOfDay_tooHigh()
855 assertEquals(test, LocalTime.ofNanoOfDay(i)); in test_with_longTemporalField_nanoOfDay()
880 assertEquals(test, LocalTime.ofNanoOfDay(i * 1000)); in test_with_longTemporalField_microOfDay()
905 assertEquals(test, LocalTime.ofNanoOfDay(i * 1_000_000)); in test_with_longTemporalField_milliOfDay()
2494 assertEquals(LocalTime.ofNanoOfDay(t.toNanoOfDay()), t);
2500 assertEquals(LocalTime.ofNanoOfDay(t.toNanoOfDay()), t);
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoLocalDateTimeImpl.java359 LocalTime newTime = (newNoD == curNoD ? time : LocalTime.ofNanoOfDay(newNoD)); in plusWithOverflow()
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java544 updateCheckConflict(LocalTime.ofNanoOfDay(nod), Period.ofDays(excessDays)); in resolveTime()
/libcore/api/
Dcurrent.txt10860 method public static java.time.LocalTime ofNanoOfDay(long);