Searched refs:ofNanoOfDay (Results 1 – 8 of 8) sorted by relevance
274 return ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + now.getNano()); in now()369 public static LocalTime ofNanoOfDay(long nanoOfDay) { in ofNanoOfDay() method in LocalTime833 case NANO_OF_DAY: return LocalTime.ofNanoOfDay(newValue); in with()835 case MICRO_OF_DAY: return LocalTime.ofNanoOfDay(newValue * 1000); in with()837 case MILLI_OF_DAY: return LocalTime.ofNanoOfDay(newValue * 1000_000); in with()956 return ofNanoOfDay((nod / dur) * dur); in truncatedTo()
417 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + nanoOfSecond); in ofEpochSecond()1564 LocalTime newTime = (newNoD == curNoD ? time : LocalTime.ofNanoOfDay(newNoD)); in plusWithOverflow()
256 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + instant.getNano()); in ofInstant()
393 return LocalTime.ofNanoOfDay(temporal.getLong(NANO_OF_DAY));
178 LocalTime test1 = LocalTime.ofNanoOfDay(i * 1000000000L * 60L * 60L); in factory_ofNanoOfDay_singletons()
449 LocalTime localTime = LocalTime.ofNanoOfDay(60 * 60 * 1000000000L + 17); in factory_ofNanoOfDay()455 LocalTime.ofNanoOfDay(-1); in factory_ofNanoOfDay_tooLow()460 LocalTime.ofNanoOfDay(24 * 60 * 60 * 1000000000L); in factory_ofNanoOfDay_tooHigh()821 assertEquals(test, LocalTime.ofNanoOfDay(i)); in test_with_longTemporalField_nanoOfDay()846 assertEquals(test, LocalTime.ofNanoOfDay(i * 1000)); in test_with_longTemporalField_microOfDay()871 assertEquals(test, LocalTime.ofNanoOfDay(i * 1_000_000)); in test_with_longTemporalField_milliOfDay()2434 assertEquals(LocalTime.ofNanoOfDay(t.toNanoOfDay()), t);2440 assertEquals(LocalTime.ofNanoOfDay(t.toNanoOfDay()), t);
359 LocalTime newTime = (newNoD == curNoD ? time : LocalTime.ofNanoOfDay(newNoD)); in plusWithOverflow()
544 updateCheckConflict(LocalTime.ofNanoOfDay(nod), Period.ofDays(excessDays)); in resolveTime()