DateTimeGroupItem
Source: aspose.
Represents the datetime's group setting.
new DateTimeGroupItem(type, year, month, day, hour, minute, second)
Parameters
Name | Type | Optional | Description |
---|---|---|---|
type |
|
|
DateTimeGroupingType |
year |
|
|
|
month |
|
|
|
day |
|
|
|
hour |
|
|
|
minute |
|
|
|
second |
|
|
Methods
getDateTimeGroupingType()
Gets and sets the group type. The value of the property is DateTimeGroupingType integer constant.
getDay()
Gets and sets the day of the grouped date time.
getHour()
Gets and sets the hour of the grouped date time.
getMinValue()
Gets the min value.
getMinute()
Gets and sets the minute of the grouped date time.
getMonth()
Gets and sets the month of the grouped date time.
getSecond()
Gets and sets the second of the grouped date time.
getYear()
Gets and sets the year of the grouped date time.
setDateTimeGroupingType()
Gets and sets the group type. The value of the property is DateTimeGroupingType integer constant.
setDay()
Gets and sets the day of the grouped date time.
setHour()
Gets and sets the hour of the grouped date time.
setMinute()
Gets and sets the minute of the grouped date time.
setMonth()
Gets and sets the month of the grouped date time.
setSecond()
Gets and sets the second of the grouped date time.
setYear()
Gets and sets the year of the grouped date time.