public class LunarYear extends Object
| 构造器和说明 |
|---|
LunarYear(int lunarYear)
初始化
|
| 限定符和类型 | 方法和说明 |
|---|---|
static LunarYear |
fromYear(int lunarYear)
通过农历年初始化
|
List<Double> |
getJieQiJulianDays()
获取节气儒略日们
|
int |
getLeapMonth()
获取闰月
|
LunarMonth |
getMonth(int lunarMonth)
获取农历月
|
List<LunarMonth> |
getMonths()
获取农历月们
|
int |
getYear()
获取农历年
|
String |
toFullString() |
String |
toString() |
public static LunarYear fromYear(int lunarYear)
lunarYear - 农历年public int getYear()
public List<LunarMonth> getMonths()
public LunarMonth getMonth(int lunarMonth)
lunarMonth - 月,1-12,闰月为负数,如闰2月为-2public int getLeapMonth()
public String toFullString()
Copyright © 2021. All Rights Reserved.