Instant.Instant.to_unix.add: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/instant.bend as Instant Lines 20-27 of bend-time-lib@0.4.0.1/instant.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/instant.bend&start_line=20&end_line=27 import Base def Instant.to_unix.add( +udays: U32, +sod: U32, ok: Bool ) -> Result<&2, &2, Instant.Error, U32>: match ok: case False{}: Fail{OutOfRange{}} case True{}: Done{U32.add(U32.mul(udays, 86400), sod)} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.mul https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/instant.bend&name=Instant.Error