PeriodForm
Type Alias: PeriodForm
PeriodForm = {
from:Bound;kind:"bounds";to:ToBound;zone?:ZoneArgument; } | {argument:string;as:BoundAs;edge?:Edge;joiner:".."|"/";kind:"joined";zone?:ZoneArgument; } | {argument:string;as:BoundAs;edge:Edge;keys: {from:string;to:string; };kind:"object";zone?:ZoneArgument; } | {argument:string;kind:"day";zone?:ZoneArgument; } | {argument:string;kind:"lookback";signed:boolean;units?:string; }
Defined in: src/core/time/periodForm.ts:85
Every shape a tool's period can take — one TimeRange onto one or more arguments.
Union Members
Type Literal
{ from: Bound; kind: "bounds"; to: ToBound; zone?: ZoneArgument; }
Type Literal
{ argument: string; as: BoundAs; edge?: Edge; joiner: ".." | "/"; kind: "joined"; zone?: ZoneArgument; }
Type Literal
{ argument: string; as: BoundAs; edge: Edge; keys: { from: string; to: string; }; kind: "object"; zone?: ZoneArgument; }
argument
readonlyargument:string
as
readonlyas:BoundAs
edge
readonlyedge:Edge
Declared, never defaulted (TQ18).
keys
readonlykeys:object
keys.from
readonlyfrom:string
keys.to
readonlyto:string
kind
readonlykind:"object"
zone?
readonlyoptionalzone?:ZoneArgument
Type Literal
{ argument: string; kind: "day"; zone?: ZoneArgument; }
Type Literal
{ argument: string; kind: "lookback"; signed: boolean; units?: string; }
argument
readonlyargument:string
kind
readonlykind:"lookback"
signed
readonlysigned:boolean
units?
readonlyoptionalunits?:string
A unit set ⊆ smhdw; absent → today's mhdw.
