SpreadDateGroupItem
Represents a hierarchical date criterion for value-based filtering.
Definition
Namespace:Telerik.Documents.SpreadsheetStreaming
Assembly:Telerik.Documents.SpreadsheetStreaming.dll
Syntax:
public class SpreadDateGroupItem
Inheritance: objectSpreadDateGroupItem
Constructors
Initializes a new instance of the SpreadDateGroupItem class with all components.
public SpreadDateGroupItem(int year, int month, int day, int hour, int minute, int second, SpreadDateTimeGroupingType dateTimeGroupingType)
The year (must be >= 1).
monthintThe month (1-12), or 0 when not used at the given granularity.
dayintThe day (1-31), or 0 when not used at the given granularity.
hourintThe hour (0-23), or 0 when not used at the given granularity.
minuteintThe minute (0-59), or 0 when not used at the given granularity.
secondintThe second (0-59), or 0 when not used at the given granularity.
dateTimeGroupingTypeSpreadDateTimeGroupingTypeThe date/time grouping granularity.
Exceptions:Thrown when any component is outside its valid range for the specified granularity.
Initializes a new instance of the SpreadDateGroupItem class with day granularity.
Initializes a new instance of the SpreadDateGroupItem class with month granularity.
Initializes a new instance of the SpreadDateGroupItem class with year granularity.
Properties
Gets the date/time grouping granularity.
public SpreadDateTimeGroupingType DateTimeGroupingType { get; }