Package org.aoju.bus.core.date
Class Solar.Year
java.lang.Object
org.aoju.bus.core.date.Solar.Year
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(boolean... args) 构建字符串内容static Solar.Yearfrom(int year) 通过指定年份获取阳历年static Solar.Year通过指定日期获取阳历年获取本年的阳历月列表intgetYear()获取年next(int years) 获取往后推几年的阳历年,如果要往前推,则年数用负数
-
Field Details
-
MONTH_COUNT
public static final int MONTH_COUNT一年的月数- See Also:
-
-
Constructor Details
-
Year
public Year()默认当年 -
Year
-
Year
public Year(int year) 通过年初始化- Parameters:
year- 年
-
-
Method Details
-
from
-
from
-
getYear
public int getYear()获取年- Returns:
- 年
-
getMonths
-
next
-
build
-