Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/
DLocalTime.java274 return ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + now.getNano()); in now()
369 public static LocalTime ofNanoOfDay(long nanoOfDay) { in ofNanoOfDay() method in LocalTime
833 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()
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.java449 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);
/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()