LocalTime.of

Obtains an instance of {@code LocalTime} from an hour, minute and second. !(p) This returns a {@code LocalTime} with the specified hour, minute and second. The nanosecond field will be set to zero.

@param hour the hour-of-day to represent, from 0 to 23 @param minute the minute-of-hour to represent, from 0 to 59 @param second the second-of-minute to represent, from 0 to 59 @return the local time, not null @throws DateTimeException if the value of any field is _out of range

  1. LocalTime of(int hour, int minute)
  2. LocalTime of(int hour, int minute, int second)
    class LocalTime
    static
    of
    (
    int hour
    ,
    int minute
    ,
    int second
    )
  3. LocalTime of(int hour, int minute, int second, int nanoOfSecond)

Meta