| Package | Description |
|---|---|
| org.aoju.bus.core.date |
日期封装,日期的核心为DateTime类
|
| Modifier and Type | Method and Description |
|---|---|
static Solar.Month |
Solar.Month.from(Calendar calendar)
通过指定日历获取阳历月
|
static Solar.Month |
Solar.Month.from(Date date)
通过指定日期获取阳历月
|
static Solar.Month |
Solar.Month.from(int year,
int month)
通过指定年月获取阳历月
|
Solar.Month |
Solar.Month.next(int months)
获取往后推几个月的阳历月,如果要往前推,则月数用负数
|
| Modifier and Type | Method and Description |
|---|---|
List<Solar.Month> |
Solar.Year.getMonths()
获取本年的阳历月列表
|
List<Solar.Month> |
Solar.Semester.getMonths()
获取本半年的月份
|
List<Solar.Month> |
Solar.Quarter.getMonths()
获取本季度的月份
|
Copyright © 2022. All rights reserved.