atMost method

Hora atMost(
  1. Hora max
)

Ensures this date is not after the maximum.

Implementation

Hora atMost(Hora max) => isAfter(max) ? max : this;