| 程序包 | 说明 |
|---|---|
| com.xkzhangsan.time | |
| com.xkzhangsan.time.calendar |
| 限定符和类型 | 方法和说明 |
|---|---|
static LunarDate |
LunarDate.from(java.util.Date date)
通过Date创建LunarDate
|
static LunarDate |
LunarDate.from(java.time.Instant instant)
通过Instant创建LunarDate
|
static LunarDate |
LunarDate.from(java.time.LocalDate localDate)
通过LocalDate创建LunarDate
|
static LunarDate |
LunarDate.from(java.time.LocalDateTime localDateTime)
通过LocalDateTime创建LunarDate
|
static LunarDate |
LunarDate.from(java.time.temporal.Temporal temporal) |
static LunarDate |
LunarDate.now()
以当前时间创建农历日期LunarDate
|
| 限定符和类型 | 方法和说明 |
|---|---|
LunarDate |
DayWrapper.getLunarDate() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DayWrapper.setLunarDate(LunarDate lunarDate) |
Copyright © 2020. All Rights Reserved.