def Time.days.early
import bend-kube-runtime@0.2.0.0/src/time.bend as Timeimport Base
126def Time.days.early(+y: U32, +m: U32, +d: U32, early: Bool) -> U32:
127 match early:
128 case True{}:
129 Time.days.go((y - 1 : U32), m, d, (m + 9 : U32))
130 case False{}:
131 Time.days.go(y, m, d, (m - 3 : U32))