def tz.event.prev

bend-kit-time@0.3.0.0 · time.bend:1101

import bend-kit-time@0.3.0.0/time.bend as Time
import Base
import bend-kit-int@0.2.0.0/int.bend as Int

1101def tz.event.prev(+now: Int.I64, old: Maybe<&2, TzEvent>, +r: TzRule, +y: U32) -> Maybe<&2, TzEvent>:
1102  match y:
1103    case 0:
1104      old
1105    case _:
1106      tz.event.year(now, old, r, (y - 1 : U32))

Uses (10)

Used by (1)