def Date.leap4
import bend-time-lib@0.4.0.1/date.bend as Dateimport Base
17def Date.leap4(+y: U32, d4: Bool) -> Bool:
18 match d4:
19 case False{}:
20 False{}
21 case True{}:
22 Date.leap100(y, U32.is_eq(U32.mod(y, 100), 0))
import bend-time-lib@0.4.0.1/date.bend as Dateimport Base
17def Date.leap4(+y: U32, d4: Bool) -> Bool:
18 match d4:
19 case False{}:
20 False{}
21 case True{}:
22 Date.leap100(y, U32.is_eq(U32.mod(y, 100), 0))