Got 5 mins? Help us improve Apps Script documentation by taking a quick online study.

Class DateTimeGroupingRule

DateTimeGroupingRule

Access an existing date-time grouping rule.

To set a rule on PivotGroup, use PivotGroup.setDateTimeGroupingRule(dateTimeGroupingRuleType).

Methods

MethodReturn typeBrief description
getRuleType()DateTimeGroupingRuleTypeGets the type of the date-time grouping rule.

Detailed documentation

getRuleType()

Gets the type of the date-time grouping rule.

Return

DateTimeGroupingRuleType — The rule type.