Click or drag to resize

DateTimeGroupItem Class

Represents an item in a group of dates, typically used for organizing or aggregating data by date.
Inheritance Hierarchy
System Object
Spire.Xls.Core.Spreadsheet.AutoFilter DateTimeGroupItem

Namespace: Spire.Xls.Core.Spreadsheet.AutoFilter
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class DateTimeGroupItem

The DateTimeGroupItem type exposes the following members.

Constructors
Name Description
Public method DateTimeGroupItem
Initializes a new instance of the DateTimeGroupItem class.
Public method DateTimeGroupItem(DateTimeGroupingType, Int32, Int32, Int32, Int32, Int32, Int32)
Initializes a new instance of the DateTimeGroupItem class with the specified parameters.
Top
Properties
Name Description
Public property DateTimeGroupingType
Gets or sets the type of grouping for date and time.
Public property Day
Gets or sets the day component of the date.
Public property Hour
Gets or sets the hour component of the time.
Public property Minute
Gets or sets the minute component of the time.
Public property MinValue
Gets the minimum DateTime value based on the current DateTimeGroupingType.
Public property Month
Gets or sets the month component of the date.
Public property Second
Gets or sets the second component of the time.
Public property Year
Gets or sets the year of the date.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also