def Iso8601.per.put_w2

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

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

639def Iso8601.per.put_w2(
640  y: U32, m: U32, saw_y: Bool, saw_m: Bool, n: U32, bad: Bool
641) -> Result<&2, &2, Iso8601.Error, Iso8601.PerS>:
642  match bad:
643    case True{}:
644      Fail{Invalid{}}
645    case False{}:
646      Iso8601.per.put_w.go(y, m, saw_y, saw_m, Iso8601.per.weeks(n))

Uses (7)

Used by (1)