PivotDateTimeRangeGroupSettings

PivotDateTimeRangeGroupSettings class

Represents the field grouped by date time range.

class PivotDateTimeRangeGroupSettings extends PivotFieldGroupSettings;

Constructors

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

Properties

PropertyTypeDescription
startDateReadonly. Gets the start date time of the group.
endDateReadonly. Gets the end date time of the group.
intervalnumberReadonly. Gets the internal of the group.
groupByTypesPivotGroupByType[]Readonly. Gets the types of grouping by date time.

Methods

MethodDescription
getStart()@deprecated. Please use the ‘start’ property instead. Gets the start date time of the group.
getEnd()@deprecated. Please use the ’end’ property instead. Gets the end date time of the group.
getInterval()@deprecated. Please use the ‘interval’ property instead. Gets the internal of the group.
getGroupByTypes()@deprecated. Please use the ‘groupByTypes’ property instead. Gets the types of grouping by date time.
isGroupedBy(PivotGroupByType)Check whether the field is grouped by the type.
isNull()Checks whether the implementation object is null.
getType()Gets the data time group type.

constructor(PivotFieldGroupSettings)

Constructs from a parent object convertible to this.

constructor(obj: PivotFieldGroupSettings);

Parameters:

ParameterTypeDescription
objPivotFieldGroupSettingsThe parent object.

start

Readonly. Gets the start date time of the group.

start : Date;

end

Readonly. Gets the end date time of the group.

end : Date;

interval

Readonly. Gets the internal of the group.

interval : number;

groupByTypes

Readonly. Gets the types of grouping by date time.

groupByTypes : PivotGroupByType[];

getStart()

@deprecated. Please use the ‘start’ property instead. Gets the start date time of the group.

getStart() : Date;

getEnd()

@deprecated. Please use the ’end’ property instead. Gets the end date time of the group.

getEnd() : Date;

getInterval()

@deprecated. Please use the ‘interval’ property instead. Gets the internal of the group.

getInterval() : number;

getGroupByTypes()

@deprecated. Please use the ‘groupByTypes’ property instead. 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

isNull()

Checks whether the implementation object is null.

isNull() : boolean;

getType()

Gets the data time group type.

getType() : PivotFieldGroupType;

Returns

PivotFieldGroupType