def Wall.ms
import bend-kube-runtime@0.2.0.0/src/time.bend as Timeimport Base
104# Milliseconds, modulo 2^32: only for differences under 49 days, which
105# wrap correctly in U32 subtraction.
106def Wall.ms(w: Wall) -> U32:
107 match w:
108 case Wall{+d, +s, +us}:
109 ((d * 86400 + s) * 1000 + us / 1000 : U32)