type

SpanMode

@Js
@Serializable { simple=true }
enum class SpanMode : Enum

SpanMode enumerates relative or absolute span modes

enum

constructors

fromStr

Return the SpanMode instance for the specified name.

fields

vals

List of SpanMode values indexed by ordinal

methods

dis

Display name for relative period

isAbs

Is this an absolute mode

isRel

Is this a relative mode

Slot Details

abs

const static SpanMode abs := ...

dis

Str dis()

Display name for relative period

fromStr

static new fromStr(Str name, Bool checked := true)

Return the SpanMode instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

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 := ...