def time.civil.year

ezsys@0.1.0.0 · src/clock.bend:65

import ezsys@0.1.0.0/src/clock.bend as Clock
import Base

65# the calendar year of a March-based year: January and February are the
66# next calendar year's
67def time.civil.year(+year: U32, +month: U32) -> U32:
68  Bool.pick(U32, (month <= 2 : U32), (year + 1 : U32), year)

Uses (4)

Used by (1)