truncateNanos

fun LocalTime.truncateNanos(): LocalTime

Returns the same time with LocalTime.nanosecond set to 0.