| 程序包 | 说明 |
|---|---|
| cn.aethli.lunar |
| 限定符和类型 | 方法和说明 |
|---|---|
LunarDate.LeapType |
LunarDate.getLeapType() |
static LunarDate.LeapType |
LunarDate.LeapType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static LunarDate.LeapType[] |
LunarDate.LeapType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static LunarDate |
LunarDate.ofDay(int year,
int month,
int day,
LunarDate.LeapType leapType)
get a instance by lunar date(year,month,day)
attention:LeapType.LEAP_0 Equivalent to LeapType.LEAP_0
|
static LunarDate[] |
LunarDate.ofMonth(int year,
int month,
LunarDate.LeapType leapType)
get a LunarDate array by lunar date, from first day of month to end day of month
attention:LeapType.LEAP_0 Equivalent to LeapType.LEAP_0
|
LunarDate |
LunarDate.setLunarDate(int year,
int month,
int day,
LunarDate.LeapType leapType)
set a new lunar date
|
Copyright © 2019. All rights reserved.