Click or drag to resize

DateTimeGroupItem Constructor (DateTimeGroupingType, Int32, Int32, Int32, Int32, Int32, Int32)

Initializes a new instance of the DateTimeGroupItem class with the specified parameters.

Namespace: Spire.Xls.Core.Spreadsheet.AutoFilter
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public DateTimeGroupItem(
	DateTimeGroupingType type,
	int year,
	int month,
	int day,
	int hour,
	int minute,
	int second
)

Parameters

type
Type: Spire.Xls.Core.Spreadsheet.AutoFilter DateTimeGroupingType
The type of date-time grouping.
year
Type: System Int32
The year component of the date-time group.
month
Type: System Int32
The month component of the date-time group.
day
Type: System Int32
The day component of the date-time group.
hour
Type: System Int32
The hour component of the date-time group.
minute
Type: System Int32
The minute component of the date-time group.
second
Type: System Int32
The second component of the date-time group.

Return Value

Type:
A new instance of the DateTimeGroupItem class.
See Also