Searched refs:secondOfDay (Results 1 – 1 of 1) sorted by relevance
375 public static LocalTime ofSecondOfDay(long secondOfDay) { in ofSecondOfDay() argument376 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()