takeIfNotZero

fun LocalTime?.takeIfNotZero(): LocalTime?

If this is LocalTime.MIN return null, this otherwise