Package | Description |
---|---|
cn.hutool.core.date |
日期封装,日期的核心为DateTime类,DateUtil提供日期操作的入口
|
Modifier and Type | Method and Description |
---|---|
static Quarter |
Quarter.of(int intValue)
将 季度int转换为Season枚举对象
|
Quarter |
DateTime.quarterEnum()
获得当前日期所属季度
|
static Quarter |
DateUtil.quarterEnum(Date date)
获得指定日期所属季度
|
static Quarter |
Quarter.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Quarter[] |
Quarter.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2024. All rights reserved.