| Package | Description |
|---|---|
| org.aoju.bus.core.date |
日期封装,日期的核心为DateTime类
|
| Modifier and Type | Method and Description |
|---|---|
static Solar.Year |
Solar.Year.from(Calendar calendar)
通过指定日历获取阳历年
|
static Solar.Year |
Solar.Year.from(Date date)
通过指定日期获取阳历年
|
static Solar.Year |
Solar.Year.from(int year)
通过指定年份获取阳历年
|
Solar.Year |
Solar.Year.next(int years)
获取往后推几年的阳历年,如果要往前推,则年数用负数
|
Copyright © 2021. All rights reserved.