min static method

Returns the earlier time of the given two.

  • x: The first time to compare.
  • y: The second time to compare.

Returns: The earlier time of x or y.

Implementation

static LocalTime min(LocalTime x, LocalTime y) => x < y ? x : y;