def time.weekday
import ezsys@0.1.0.0/src/clock.bend as Clockimport 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)))