Datetime.UtcOffset.from.zero: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/datetime.bend as Datetime Lines 51-62 of bend-time-lib@0.4.0.1/datetime.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/datetime.bend&start_line=51&end_line=62 import Base def UtcOffset.from.zero( z: Bool, west: Bool, +h: U32, +mi: U32 ) -> Result<&2, &2, UtcOffset.Error, UtcOffset>: match z west: case True{} True{}: Fail{NegativeZero{}} case True{} False{}: Done{OffsetZero{}} case False{} True{}: Done{OffsetWest{h, mi}} case False{} False{}: Done{OffsetEast{h, mi}} Uses (5): 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=bend-time-lib@0.4.0.1/datetime.bend&name=UtcOffset https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/datetime.bend&name=UtcOffset.Error