max method

Duration max(
  1. Duration other
)

Get the maximum of two durations

Implementation

Duration max(Duration other) => this > other ? this : other;