Searched refs:secondOfDay (Results 1 – 2 of 2) sorted by relevance
351 public static LocalTime ofSecondOfDay(long secondOfDay) { in ofSecondOfDay() argument352 SECOND_OF_DAY.checkValidValue(secondOfDay); in ofSecondOfDay()353 int hours = (int) (secondOfDay / SECONDS_PER_HOUR); in ofSecondOfDay()354 secondOfDay -= hours * SECONDS_PER_HOUR; in ofSecondOfDay()355 int minutes = (int) (secondOfDay / SECONDS_PER_MINUTE); in ofSecondOfDay()356 secondOfDay -= minutes * SECONDS_PER_MINUTE; in ofSecondOfDay()357 return create(hours, minutes, (int) secondOfDay, 0); in ofSecondOfDay()
256 int secondOfDay = (int) TimeUnit.MILLISECONDS.toSeconds(dateTimeRule.getRuleMillisInDay()); in toZoneOffsetTransitionRule() local259 if (secondOfDay == SECONDS_IN_DAY) { in toZoneOffsetTransitionRule()263 time = LocalTime.ofSecondOfDay(secondOfDay); in toZoneOffsetTransitionRule()