type
SpanMode
@Js
@Serializable { simple=true }
enum class SpanMode : Enum
SpanMode enumerates relative or absolute span modes
enum
abs | |
---|---|
today | |
yesterday | |
thisWeek | |
lastWeek | |
pastWeek | |
thisMonth | |
lastMonth | |
pastMonth | |
thisQuarter | |
lastQuarter | |
pastQuarter | |
thisYear | |
lastYear | |
pastYear |
constructors
fromStr |
Return the SpanMode instance for the specified name. |
---|
fields
vals |
List of SpanMode values indexed by ordinal |
---|
methods
Slot Details
abs
const static SpanMode abs := ...
dis
Str dis()
Display name for relative period
fromStr
isAbs
Bool isAbs()
Is this an absolute mode
isRel
Bool isRel()
Is this a relative mode
lastMonth
const static SpanMode lastMonth := ...
lastQuarter
const static SpanMode lastQuarter := ...
lastWeek
const static SpanMode lastWeek := ...
lastYear
const static SpanMode lastYear := ...
pastMonth
const static SpanMode pastMonth := ...
pastQuarter
const static SpanMode pastQuarter := ...
pastWeek
const static SpanMode pastWeek := ...
pastYear
const static SpanMode pastYear := ...
thisMonth
const static SpanMode thisMonth := ...
thisQuarter
const static SpanMode thisQuarter := ...
thisWeek
const static SpanMode thisWeek := ...
thisYear
const static SpanMode thisYear := ...
today
const static SpanMode today := ...
vals
const static SpanMode[] vals := ...
List of SpanMode values indexed by ordinal
yesterday
const static SpanMode yesterday := ...