def when.feb.quad

emerging-eztoml@0.9.0.0 · main.bend:950

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

950# February in a year divisible by 4 and by 100: 29 days only when the year
951# is also divisible by 400
952def when.feb.quad(four_hundred: Bool) -> U32:
953  match four_hundred:
954    case True{}:
955      29
956    case False{}:
957      28

Uses (2)

Used by (1)