def Format.off.sign2
import bend-time-lib@0.4.0.1/format.bend as Formatimport Base
import bend-scanner@0.1.0.0/parse.bend as P
246def Format.off.sign2(
247 west: Bool, r: Result<&2, &2, P.Parse.Error, P.Parse.Cur>
248) -> Result<&2, &2, Format.Error, Format.OffP>:
249 match r:
250 case Fail{e}:
251 Fail{Format.from_parse(e)}
252 case Done{cur}:
253 Format.off.hour2(west, P.Parse.read_fixed_decimal(cur, 2n, 99))