def Iso8601.dur.unit_dot

bend-time-lib@0.4.0.1 · iso8601.bend:414

import bend-time-lib@0.4.0.1/iso8601.bend as Iso8601
import Base

414def Iso8601.dur.unit_dot(
415  st: Iso8601.DurS, n: U32, is_dot: Bool
416) -> Iso8601.DurC:
417  match is_dot:
418    case True{}:
419      DurCont{st, DFrac{n, 0, 9n}}
420    case False{}:
421      DurFail{Invalid{}}

Uses (6)

Used by (1)