
**Inheritance:**
java.lang.Object
```
public class DateTimeGroupItem
```

Represents the datetime group setting.
## Constructors

| Constructor | Description |
| --- | --- |
| [DateTimeGroupItem(int type, int year, int month, int day, int hour, int minute, int second)](#DateTimeGroupItem-int-int-int-int-int-int-int-) |  |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getDateTimeGroupingType()](#getDateTimeGroupingType--) | Gets the group type. |
| [getDay()](#getDay--) | Gets the day of the grouped date time. |
| [getHour()](#getHour--) | Gets the hour of the grouped date time. |
| [getMinValue()](#getMinValue--) | Gets the min value. |
| [getMinute()](#getMinute--) | Gets the minute of the grouped date time. |
| [getMonth()](#getMonth--) | Gets the month of the grouped date time. |
| [getSecond()](#getSecond--) | Gets the second of the grouped date time. |
| [getYear()](#getYear--) | Gets the year of the grouped date time. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setDateTimeGroupingType(int value)](#setDateTimeGroupingType-int-) | Sets the group type. |
| [setDay(int value)](#setDay-int-) | Sets the day of the grouped date time. |
| [setHour(int value)](#setHour-int-) | Sets the hour of the grouped date time. |
| [setMinute(int value)](#setMinute-int-) | Sets the minute of the grouped date time. |
| [setMonth(int value)](#setMonth-int-) | Sets the month of the grouped date time. |
| [setSecond(int value)](#setSecond-int-) | Sets the second of the grouped date time. |
| [setYear(int value)](#setYear-int-) | Sets the year of the grouped date time. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### DateTimeGroupItem(int type, int year, int month, int day, int hour, int minute, int second) {#DateTimeGroupItem-int-int-int-int-int-int-int-}
```
public DateTimeGroupItem(int type, int year, int month, int day, int hour, int minute, int second)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| type | int | [DateTimeGroupingType](../../com.aspose.cells/datetimegroupingtype). |
| year | int |  |
| month | int |  |
| day | int |  |
| hour | int |  |
| minute | int |  |
| second | int |  |

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getDateTimeGroupingType() {#getDateTimeGroupingType--}
```
public int getDateTimeGroupingType()
```


Gets the group type.

See [DateTimeGroupingType](../../com.aspose.cells/datetimegroupingtype).

**Returns:**
int
### getDay() {#getDay--}
```
public int getDay()
```


Gets the day of the grouped date time.

**Returns:**
int
### getHour() {#getHour--}
```
public int getHour()
```


Gets the hour of the grouped date time.

**Returns:**
int
### getMinValue() {#getMinValue--}
```
public DateTime getMinValue()
```


Gets the min value.

**Returns:**
[DateTime](../../com.aspose.cells/datetime)
### getMinute() {#getMinute--}
```
public int getMinute()
```


Gets the minute of the grouped date time.

**Returns:**
int
### getMonth() {#getMonth--}
```
public int getMonth()
```


Gets the month of the grouped date time.

**Returns:**
int
### getSecond() {#getSecond--}
```
public int getSecond()
```


Gets the second of the grouped date time.

**Returns:**
int
### getYear() {#getYear--}
```
public int getYear()
```


Gets the year of the grouped date time.

**Returns:**
int
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setDateTimeGroupingType(int value) {#setDateTimeGroupingType-int-}
```
public void setDateTimeGroupingType(int value)
```


Sets the group type.

See [DateTimeGroupingType](../../com.aspose.cells/datetimegroupingtype).

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setDay(int value) {#setDay-int-}
```
public void setDay(int value)
```


Sets the day of the grouped date time.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setHour(int value) {#setHour-int-}
```
public void setHour(int value)
```


Sets the hour of the grouped date time.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setMinute(int value) {#setMinute-int-}
```
public void setMinute(int value)
```


Sets the minute of the grouped date time.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setMonth(int value) {#setMonth-int-}
```
public void setMonth(int value)
```


Sets the month of the grouped date time.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setSecond(int value) {#setSecond-int-}
```
public void setSecond(int value)
```


Sets the second of the grouped date time.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setYear(int value) {#setYear-int-}
```
public void setYear(int value)
```


Sets the year of the grouped date time.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

