max static method
Returns the later time of the given two.
x: The first time to compare.y: The second time to compare.
Returns: The later instant of x or y.
Implementation
static LocalTime max(LocalTime x, LocalTime y) {
return x > y ? x : y;
}