def time.weekday

ezsys@0.1.0.0 · src/clock.bend:307

import ezsys@0.1.0.0/src/clock.bend as Clock
import Base

307# the ISO weekday of a day number, in 32 steps, one a bit
308def time.weekday(days: U32) -> U32:
309  match days:
310    case U32{word}:
311      time.wd.num(time.wd.plus(Thu{}, time.wd.bits(32n, word)))

Uses (5)

Used by (2)