PivotDateTimeRangeGroupSettings

PivotDateTimeRangeGroupSettings class

Represents the field grouped by date time range.

class PivotDateTimeRangeGroupSettings extends PivotFieldGroupSettings;

Constructors

NameDescription
constructor(PivotFieldGroupSettings)Constructs from a parent object convertible to this.

Methods

MethodDescription
getType()Gets the data time group type.
getStart()Gets the start date time of the group.
getEnd()Gets the end date time of the group.
getInterval()Gets the internal of the group.
getGroupByTypes()Gets the types of grouping by date time.
isGroupedBy(PivotGroupByType)Check whether the field is grouped by the type.

constructor(PivotFieldGroupSettings)

Constructs from a parent object convertible to this.

constructor(obj: PivotFieldGroupSettings);

Parameters:

ParameterTypeDescription
objPivotFieldGroupSettingsThe parent object.

getType()

Gets the data time group type.

getType() : PivotFieldGroupType;

Returns

PivotFieldGroupType

getStart()

Gets the start date time of the group.

getStart() : Date;

getEnd()

Gets the end date time of the group.

getEnd() : Date;

getInterval()

Gets the internal of the group.

getInterval() : number;

getGroupByTypes()

Gets the types of grouping by date time.

getGroupByTypes() : PivotGroupByType[];

Returns

PivotGroupByType[]

isGroupedBy(PivotGroupByType)

Check whether the field is grouped by the type.

isGroupedBy(type: PivotGroupByType) : boolean;

Parameters:

ParameterTypeDescription
typePivotGroupByTypeThe group type