| Constructor and Description |
|---|
Year(int lunarYear)
初始化
|
| Modifier and Type | Method and Description |
|---|---|
String |
build(boolean... args)
构建字符串内容
|
static Lunar.Year |
from(int lunarYear)
通过农历年初始化
|
List<Double> |
getJieQiJulianDays()
获取节气儒略日们
|
int |
getLeapMonth()
获取闰月
|
Lunar.Month |
getMonth(int lunarMonth)
获取农历月
|
List<Lunar.Month> |
getMonths()
获取农历月们
|
int |
getYear()
获取农历年
|
public static Lunar.Year from(int lunarYear)
lunarYear - 农历年public int getYear()
public List<Lunar.Month> getMonths()
public Lunar.Month getMonth(int lunarMonth)
lunarMonth - 月,1-12,闰月为负数,如闰2月为-2public int getLeapMonth()
public String build(boolean... args)
args - 可选参数-简化输出Copyright © 2021. All rights reserved.