Package io.revealbi.core
Class RVDateRule
java.lang.Object
io.revealbi.core.RVDateRule
A class that represents a date rule for a filter.
-
Constructor Summary
ConstructorsConstructorDescriptionRVDateRule(RVPeriodRelation periodRelation, int periodCount, RVPeriodType periodType) Create a date rule with the specified period relation, count and period type.RVDateRule(RVPeriodRelation periodRelation, RVPeriodType periodType) Create a date rule with the specified period relation and period type. -
Method Summary
Modifier and TypeMethodDescriptionintgetCount()Amount of periods to be counted.Relation of the rule's time period to the current date.Type of time period used as time unit for the rule's period.
-
Constructor Details
-
RVDateRule
Create a date rule with the specified period relation and period type. -
RVDateRule
Create a date rule with the specified period relation, count and period type.
-
-
Method Details
-
getPeriodRelation
Relation of the rule's time period to the current date. -
getPeriodType
Type of time period used as time unit for the rule's period. -
getCount
public int getCount()Amount of periods to be counted.
-