def when.feb

emerging-eztoml@0.9.0.0 · main.bend:976

import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml
import Base

976# the days of February in a year
977def when.feb(+yy: U32) -> U32:
978  when.feb.go(U32.is_eq(U32.mod(yy, 4), 0), U32.is_eq(U32.mod(yy, 100), 0),
979    U32.is_eq(U32.mod(yy, 400), 0))

Uses (4)

Used by (1)