def Iso8601.per.put_w

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

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

647def Iso8601.per.put_w(
648  st: Iso8601.PerS, n: U32
649) -> Result<&2, &2, Iso8601.Error, Iso8601.PerS>:
650  match st:
651    case PerS{y, m, _, saw_y, saw_m, +saw_w, +saw_d}:
652      Iso8601.per.put_w2(y, m, saw_y, saw_m, n, Bool.or(saw_w, saw_d))

Uses (6)

Used by (1)