Skip to main content

construct_clock

Function construct_clock 

Source
pub fn construct_clock(
    kind: ClockKind,
    mode: ClockMode,
    arg: Option<&Value>,
) -> Result<Value>
Expand description

The clock-access form (date.transaction('Europe/Paris'), …): its one argument is a timezone, never a value, so it resolves through the zone table at the accessor’s own instant. Arity is the dispatcher’s contract; the one argument here is either a null, a timezone, or the invalid call signature (syntax class).