def Iso8601.per.valid

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

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

570def Iso8601.per.valid(st: Iso8601.PerS) -> Result<&2, &2, Iso8601.Error, Per.Period>:
571  match st:
572    case PerS{+y, +m, +d, +saw_y, +saw_m, +saw_w, +saw_d}:
573      Iso8601.per.valid2(y, m, d, Iso8601.or4(saw_y, saw_m, saw_w, saw_d))

Uses (6)

Used by (1)