max static method

Time max(
  1. Time x,
  2. Time y
)

Implementation

static Time max(Time x, Time y) => x > y ? x : y;