def Date.doy
import bend-time-lib@0.4.0.1/date.bend as Dateimport Base
197def Date.doy(+m: U32, +d: U32, jf: Bool) -> U32:
198 U32.sub(U32.add(U32.div(U32.add(U32.mul(153, Date.mp(m, jf)), 2), 5), d), 1)
import bend-time-lib@0.4.0.1/date.bend as Dateimport Base
197def Date.doy(+m: U32, +d: U32, jf: Bool) -> U32:
198 U32.sub(U32.add(U32.div(U32.add(U32.mul(153, Date.mp(m, jf)), 2), 5), d), 1)