Package | Description |
---|---|
cn.hutool.core.date |
日期封装,日期的核心为DateTime类,DateUtil提供日期操作的入口
|
Modifier and Type | Method and Description |
---|---|
Month |
DateTime.monthEnum()
获得月份
|
static Month |
DateUtil.monthEnum(Date date)
获得月份
|
static Month |
Month.of(int calendarMonthIntValue)
|
static Month |
Month.of(Month month)
Month 转换为Month对象 |
static Month |
Month.of(String name)
解析别名为Month对象,别名如:jan或者JANUARY,不区分大小写
|
static Month |
DateUtil.thisMonthEnum() |
static Month |
Month.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Month[] |
Month.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static String |
Zodiac.getZodiac(Month month,
int day)
通过生日计算星座
|
Copyright © 2024. All rights reserved.