def tz.clock.seconds

bend-kit-time@0.3.0.0 · time.bend:862

import bend-kit-time@0.3.0.0/time.bend as Time
import 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)

Uses (10)

Used by (1)