ClassDateGroupItem
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
DateGroupItem(int)
Initializes a new instance of the DateGroupItem class.
DateGroupItem(int, int)
Initializes a new instance of the DateGroupItem class.
DateGroupItem(int, int, int)
Initializes a new instance of the DateGroupItem class.
DateGroupItem(int, int, int, int)
Initializes a new instance of the DateGroupItem class.
DateGroupItem(int, int, int, int, int)
Initializes a new instance of the DateGroupItem class.
DateGroupItem(int, int, int, int, int, int)
Initializes a new instance of the DateGroupItem class.
Properties
DateTimeGroupingType
Gets the level of date/time granularity used for matching (year only, month, day, hour, minute, or second).
Declaration
public DateTimeGroupingType DateTimeGroupingType { get; }
Property Value
The grouping type of the item.
Day
Gets the day component (1-31) used for matching when grouping type is Day or more granular.
Hour
Gets the hour component (0-23) used for matching when grouping type is Hour or more granular.
Minute
Gets the minute component (0-59) used for matching when grouping type is Minute or Second.
Month
Gets the month component (1-12) used for matching when grouping type is Month or more granular.
Second
Gets the second component (0-59) used for matching when grouping type is Second.
Methods
DateSatisfiesItem(DateTime)
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.
GetHashCode()
Serves as a hash function for a particular type.