## DateTimeGroupItem class


Represents the datetime group setting.

```cpp
class DateTimeGroupItem
```

## Methods

| Method | Description |
| --- | --- |
| [DateTimeGroupItem(DateTimeGroupingType type, int32_t year, int32_t month, int32_t day, int32_t hour, int32_t minute, int32_t second)](./datetimegroupitem/) |  |
| [DateTimeGroupItem(DateTimeGroupItem_Impl* impl)](./datetimegroupitem/) | Constructs from an implementation object. |
| [DateTimeGroupItem(const Aspose::Cells::Object\& obj)](./datetimegroupitem/) | Constructs from an [Object](../object/) convertible to this. |
| [DateTimeGroupItem(const DateTimeGroupItem\& src)](./datetimegroupitem/) | Copy constructor. |
| [GetDateTimeGroupingType()](./getdatetimegroupingtype/) | Gets and sets the group type. |
| [GetDay()](./getday/) | Gets and sets the day of the grouped date time. |
| [GetHour()](./gethour/) | Gets and sets the hour of the grouped date time. |
| [GetMinute()](./getminute/) | Gets and sets the minute of the grouped date time. |
| [GetMinValue()](./getminvalue/) | Gets the min value. |
| [GetMonth()](./getmonth/) | Gets and sets the month of the grouped date time. |
| [GetSecond()](./getsecond/) | Gets and sets the second of the grouped date time. |
| [GetYear()](./getyear/) | Gets and sets the year of the grouped date time. |
| [IsNull()](./isnull/) const | Checks whether the implementation object is nullptr. |
| explicit [operator bool()](./operator_bool/) const | operator bool() |
| [operator=(const DateTimeGroupItem\& src)](./operator_asm/) | operator= |
| [SetDateTimeGroupingType(DateTimeGroupingType value)](./setdatetimegroupingtype/) | Gets and sets the group type. |
| [SetDay(int32_t value)](./setday/) | Gets and sets the day of the grouped date time. |
| [SetHour(int32_t value)](./sethour/) | Gets and sets the hour of the grouped date time. |
| [SetMinute(int32_t value)](./setminute/) | Gets and sets the minute of the grouped date time. |
| [SetMonth(int32_t value)](./setmonth/) | Gets and sets the month of the grouped date time. |
| [SetSecond(int32_t value)](./setsecond/) | Gets and sets the second of the grouped date time. |
| [SetYear(int32_t value)](./setyear/) | Gets and sets the year of the grouped date time. |
| [ToObject()](./toobject/) | Gets the [Object](../object/). |
| [~DateTimeGroupItem()](./~datetimegroupitem/) | Destructor. |
## Fields

| Field | Description |
| --- | --- |
| [_impl](./_impl/) | The implementation object. |
## See Also

* Namespace [Aspose::Cells](../)
* Library [Aspose.Cells for C++](../../)
