max static method

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

Returns the greater offset of the given two, i.e. the one which will give a later local time when added to an instant.

  • x: The first offset
  • y: The second offset

Returns: The greater offset of x and y.

Implementation

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