| 程序包 | 说明 |
|---|---|
| cn.aethli.lunar |
| 限定符和类型 | 方法和说明 |
|---|---|
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.ofDay(java.time.LocalDate gregorianDate)
get a instance by a gregorian date
|
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
|
static LunarDate[] |
LunarDate.ofMonth(java.time.LocalDate gregorianDate)
get a LunarDate array by gregorian date, from first day of month to end day of month
|
LunarDate |
LunarDate.setGregorianDate(java.time.LocalDate gregorianDate)
set new gregorian date
|
LunarDate |
LunarDate.setLunarDate(int year,
int month,
int day,
LunarDate.LeapType leapType)
set a new lunar date
|
Copyright © 2019. All rights reserved.