Google is committed to advancing racial equity for Black communities. See how.

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.