max method

Duration max(
  1. Duration d
)

Implementation

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