Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/
DLocalTime.java375 public static LocalTime ofSecondOfDay(long secondOfDay) { in ofSecondOfDay() argument
376 SECOND_OF_DAY.checkValidValue(secondOfDay); in ofSecondOfDay()
377 int hours = (int) (secondOfDay / SECONDS_PER_HOUR); in ofSecondOfDay()
378 secondOfDay -= hours * SECONDS_PER_HOUR; in ofSecondOfDay()
379 int minutes = (int) (secondOfDay / SECONDS_PER_MINUTE); in ofSecondOfDay()
380 secondOfDay -= minutes * SECONDS_PER_MINUTE; in ofSecondOfDay()
381 return create(hours, minutes, (int) secondOfDay, 0); in ofSecondOfDay()