def when.feb.go

emerging-eztoml@0.9.0.0 · main.bend:967

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

967# February: 29 days in a leap year and 28 otherwise. A leap year is divisible
968# by 4, except by 100 unless also by 400 (RFC 3339, Appendix C)
969def when.feb.go(four: Bool, hundred: Bool, four_hundred: Bool) -> U32:
970  match four:
971    case False{}:
972      28
973    case True{}:
974      when.feb.cent(hundred, four_hundred)

Uses (3)

Used by (1)