DateGroupItem
Defines a date/time grouping criterion for ValuesCollectionFilter, matching values by year, month, day, hour, minute, or second components.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.Filtering
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class DateGroupItem
Inheritance: objectDateGroupItem
Constructors
Initializes a new instance of the DateGroupItem class.
Initializes a new instance of the DateGroupItem class.
Initializes a new instance of the DateGroupItem class.
Initializes a new instance of the DateGroupItem class.
Methods
Determines whether the specified date matches this item's criteria. Compares year, month, day, hour, minute, and/or second components based on the grouping type.
Properties
Gets the level of date/time granularity used for matching (year only, month, day, hour, minute, or second).
public DateTimeGroupingType DateTimeGroupingType { get; }
The grouping type of the item.
Gets the day component (1-31) used for matching when grouping type is Day or more granular.
public int Day { get; }
The day.
Gets the hour component (0-23) used for matching when grouping type is Hour or more granular.
public int Hour { get; }
The hour.
Gets the minute component (0-59) used for matching when grouping type is Minute or Second.
public int Minute { get; }
The minute.
Gets the month component (1-12) used for matching when grouping type is Month or more granular.
public int Month { get; }
The month.
Gets the second component (0-59) used for matching when grouping type is Second.
public int Second { get; }
The second.