def tz.clock.seconds
import bend-kit-time@0.3.0.0/time.bend as Timeimport Base
862def tz.clock.seconds(sec: TzField, +hours: U32, +minutes: U32, +max: U32, negative: Bool) -> Maybe<&2, TzClock>:
863 match sec:
864 case TzField{+seconds, rest}:
865 tz.clock.valid(U32.is_le(hours, max),
866 i64((hours * 3600 + minutes * 60 + seconds : U32)), negative, rest)