Class RVDateRule
A class that represents a date rule for a filter.
Inheritance
System.Object
RVDateRule
Namespace: Reveal.Sdk
Assembly: Infragistics.Reveal.SDK.Server.dll
Syntax
public class RVDateRule : Object
Constructors
RVDateRule(RVPeriodRelation, RVPeriodType)
Create a date rule with the specified period relation and period type.
Declaration
public RVDateRule(RVPeriodRelation periodRelation, RVPeriodType periodType)
Parameters
| Type | Name | Description |
|---|---|---|
| RVPeriodRelation | periodRelation | Period relation |
| RVPeriodType | periodType | Period type |
RVDateRule(RVPeriodRelation, Int32, RVPeriodType)
Create a date rule with the specified period relation and a certain amount of periods of a specified type.
Declaration
public RVDateRule(RVPeriodRelation periodRelation, int periodCount, RVPeriodType periodType)
Parameters
| Type | Name | Description |
|---|---|---|
| RVPeriodRelation | periodRelation | |
| System.Int32 | periodCount | |
| RVPeriodType | periodType |
Properties
AllTime
Returns a date rule representing all time.
Declaration
public static RVDateRule AllTime { get; }
Property Value
| Type | Description |
|---|---|
| RVDateRule |
Count
Amount of periods to be counted.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PeriodRelation
Relation of the rule's time period to the current date.
Declaration
public RVPeriodRelation PeriodRelation { get; }
Property Value
| Type | Description |
|---|---|
| RVPeriodRelation |
PeriodType
Type of time period used as time unit for the rule's period.
Declaration
public RVPeriodType PeriodType { get; }
Property Value
| Type | Description |
|---|---|
| RVPeriodType |