def Format.off.sign2

bend-time-lib@0.4.0.1 · format.bend:246

import bend-time-lib@0.4.0.1/format.bend as Format
import 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))

Uses (9)

Used by (2)