public class Taoist extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Taoist.Festival
道历节日
|
| Modifier and Type | Field and Description |
|---|---|
static String[] |
AN_WU
暗戊
|
static Map<String,String> |
BA_HUI
八会日
|
static Map<String,String> |
BA_JIE
八节日
|
static int |
BIRTH_YEAR |
static Map<String,List<Taoist.Festival>> |
FESTIVAL
日期对应的节日
|
static String[] |
SAN_HUI
三会日
|
static String[] |
SAN_YUAN
三元日
|
static String[] |
WU_LA
五腊日
|
| Modifier and Type | Method and Description |
|---|---|
static Taoist |
from(int year,
int month,
int day,
int hour,
int minute,
int second) |
static Taoist |
from(Lunar lunar) |
static Taoist |
fromYmd(int year,
int month,
int day) |
int |
getDay() |
String |
getDayInChinese() |
List<Taoist.Festival> |
getFestivals() |
Lunar |
getLunar() |
int |
getMonth() |
String |
getMonthInChinese() |
int |
getYear() |
String |
getYearInChinese() |
boolean |
isDayAnWu()
是否暗戊日
|
boolean |
isDayBaHui()
是否八会日
|
boolean |
isDayBaJie()
是否八节日
|
boolean |
isDayMingWu()
是否明戊日
|
boolean |
isDaySanHui()
是否三会日
|
boolean |
isDaySanYuan()
是否三元日
|
boolean |
isDayTianShe()
是否天赦日
|
boolean |
isDayWu()
是否戊日
|
boolean |
isDayWuLa()
是否五腊日
|
String |
toFullString() |
String |
toString() |
public static final int BIRTH_YEAR
public static final String[] SAN_HUI
public static final String[] SAN_YUAN
public static final String[] WU_LA
public static final String[] AN_WU
public static final Map<String,List<Taoist.Festival>> FESTIVAL
public Taoist(Lunar lunar)
public static Taoist from(int year, int month, int day, int hour, int minute, int second)
public static Taoist fromYmd(int year, int month, int day)
public Lunar getLunar()
public int getYear()
public int getMonth()
public int getDay()
public String getYearInChinese()
public String getMonthInChinese()
public String getDayInChinese()
public List<Taoist.Festival> getFestivals()
public boolean isDaySanHui()
public boolean isDaySanYuan()
public boolean isDayBaJie()
public boolean isDayWuLa()
public boolean isDayBaHui()
public boolean isDayMingWu()
public boolean isDayAnWu()
public boolean isDayWu()
public boolean isDayTianShe()
public String toFullString()
Copyright © 2022. All rights reserved.