subtractHoraDuration method

Hora subtractHoraDuration(
  1. HoraDuration duration
)

Subtracts a HoraDuration from this date.

Unlike the built-in subtractDuration which takes a Dart Duration, this method handles calendar-aware durations (years, months) properly.

Implementation

Hora subtractHoraDuration(HoraDuration duration) =>
    _applyHoraDuration(duration, negate: true);