##  \_\_init\_\_（自身，类型，年，月，日，时，分，秒）{#aspose.cells.DateTimeGroupingType-int-int-int-int-int-int}




```python

def __init__(self, type, year, month, day, hour, minute, second):
    ...
```


|范围|类型|描述|
| :- | :- | :- |
| type | [`DateTimeGroupingType`](/cells/python-net/zh/aspose.cells/datetimegroupingtype) |  |
| year | int |  |
| month | int |  |
| day | int |  |
| hour | int |  |
| minute | int |  |
| second | int |  |



### 也可以看看
* 模块[`aspose.cells`](../../)
* 类 [`DateTimeGroupItem`](/cells/python-net/zh/aspose.cells/datetimegroupitem)
