Searched refs:secondOfDay (Results 1 – 1 of 1) sorted by relevance
374 public static LocalTime ofSecondOfDay(long secondOfDay) { in ofSecondOfDay() argument375 SECOND_OF_DAY.checkValidValue(secondOfDay); in ofSecondOfDay()376 int hours = (int) (secondOfDay / SECONDS_PER_HOUR); in ofSecondOfDay()377 secondOfDay -= hours * SECONDS_PER_HOUR; in ofSecondOfDay()378 int minutes = (int) (secondOfDay / SECONDS_PER_MINUTE); in ofSecondOfDay()379 secondOfDay -= minutes * SECONDS_PER_MINUTE; in ofSecondOfDay()380 return create(hours, minutes, (int) secondOfDay, 0); in ofSecondOfDay()