SpanMode
@Js
@Serializable { simple=true }
const class SpanMode : Enum
SpanMode enumerates relative or absolute span modes
Return the SpanMode instance for the specified name
List of SpanMode values indexed by ordinal
Is this a relative mode
Is this an absolute mode
Display name for relative period
const static SpanMode : abs
Str dis()
Display name for relative period
static new fromStr(Str name, Bool checked)
Return the SpanMode instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
Bool isAbs()
Is this an absolute mode
Bool isRel()
Is this a relative mode
const static SpanMode : lastMonth
const static SpanMode : lastQuarter
const static SpanMode : lastWeek
const static SpanMode : lastYear
const static SpanMode : pastMonth
const static SpanMode : pastQuarter
const static SpanMode : pastWeek
const static SpanMode : pastYear
const static SpanMode : thisMonth
const static SpanMode : thisQuarter
const static SpanMode : thisWeek
const static SpanMode : thisYear
const static SpanMode : today
const static SpanMode[] : vals
List of SpanMode values indexed by ordinal
const static SpanMode : yesterday