LunarUtil class
阴历工具 @author 6tail
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
convertTime(
String hm) → String -
find(
String name, List< String> names, int offset) → int -
getDayJi(
String monthGanZhi, String dayGanZhi) → List< String> -
getDayJiShen(
int lunarMonth, String dayGanZhi) → List< String> -
getDayXiongSha(
int lunarMonth, String dayGanZhi) → List< String> -
getDayYi(
String monthGanZhi, String dayGanZhi) → List< String> -
getJiaZiIndex(
String ganZhi) → int -
getTimeJi(
String dayGanZhi, String timeGanZhi) → List< String> -
getTimeYi(
String dayGanZhi, String timeGanZhi) → List< String> -
getTimeZhiIndex(
String hm) → int -
getXun(
String ganZhi) → String -
getXunIndex(
String ganZhi) → int -
getXunKong(
String ganZhi) → String -
hex(
int n) → String
Constants
-
ANIMAL
→ const Map<
String, String> - 动物
- BASE_MONTH_ZHI_INDEX → const int
- 月份地支偏移量,因正月起寅
-
CHONG
→ const List<
String> - 地支相冲(子午相冲,丑未相冲,寅申相冲,辰戌相冲,卯酉相冲,巳亥相冲),由于地支对应十二生肖,也就对应了生肖相冲
-
CHONG_GAN
→ const List<
String> - 天干相冲之无情之克(阳克阳,阴克阴)
-
CHONG_GAN_4
→ const List<
String> - 天干四冲(无情之克中克得最严重的4个)
-
CHONG_GAN_TIE
→ const List<
String> - 天干相冲之有情之克(阳克阴,阴克阳)
-
DAY
→ const List<
String> - 日
- DAY_SHEN_SHA → const String
- 每日神煞数据
- DAY_YI_JI → const String
- 每日宜忌数据
-
FESTIVAL
→ const Map<
String, String> -
GAN
→ const List<
String> - 天干
-
GONG
→ const Map<
String, String> - 宫
-
HE_GAN_5
→ const List<
String> - 天干五合(有情之克中最有情的5个,甲己合,乙庚合,丙辛合,丁壬合,戊癸合)
-
HE_ZHI_6
→ const List<
String> - 地支六合(子丑合,寅亥合,卯戌合,辰酉合,巳申合,午未合)
-
HOU
→ const List<
String> - 候
-
JIA_ZI
→ const List<
String> - 六十甲子
-
LIU_YAO
→ const List<
String> - 六曜
-
LU
→ const Map<
String, String> -
MONTH
→ const List<
String> - 月
-
NAYIN
→ const Map<
String, String> - 纳音
-
NUMBER
→ const List<
String> - 数字
-
OTHER_FESTIVAL
→ const Map<
String, List< String> > -
PENGZU_GAN
→ const List<
String> - 彭祖百忌.天干
-
PENGZU_ZHI
→ const List<
String> - 彭祖百忌.地支
-
POSITION_CAI
→ const List<
String> - 财神方位,《财神方位歌》:甲乙东北是财神,丙丁向在西南寻,戊己正北坐方位, 庚辛正东去安身,壬癸原来正南坐,便是财神方位真。
-
POSITION_DESC
→ const Map<
String, String> -
POSITION_FU
→ const List<
String> - 《福神方位歌》流派1:甲乙东南是福神,丙丁正东是堪宜,戊北己南庚辛坤,壬在乾方癸在西。
-
POSITION_FU_2
→ const List<
String> - 《福神方位歌》流派2:甲己正北是福神,丙辛西北乾宫存,乙庚坤位戊癸艮,丁壬巽上好追寻。
-
POSITION_GAN
→ const List<
String> - 天干方位
-
POSITION_TAI_DAY
→ const List<
String> - 逐日胎神方位
-
POSITION_TAI_MONTH
→ const List<
String> - 逐月胎神方位
-
POSITION_TAI_SUI_YEAR
→ const List<
String> - 年太岁方位
-
POSITION_XI
→ const List<
String> - 喜神方位,《喜神方位歌》:甲己在艮乙庚乾,丙辛坤位喜神安. 丁壬只在离宫坐,戊癸原在在巽间。
-
POSITION_YANG_GUI
→ const List<
String> - 阳贵方位,《阳贵神歌》:甲戊坤艮位,乙己是坤坎,庚辛居离艮,丙丁兑与乾,震巽属何日,壬癸贵神安。
-
POSITION_YIN_GUI
→ const List<
String> - 阴贵方位,《阴贵神歌》:甲戊见牛羊,乙己鼠猴乡,丙丁猪鸡位,壬癸蛇兔藏,庚辛逢虎马,此是贵神方。
-
POSITION_ZHI
→ const List<
String> - 地支方位
-
SEASON
→ const List<
String> - 季节
-
SHA
→ const Map<
String, String> - 煞(逢巳日、酉日、丑日必煞东;亥日、卯日、未日必煞西;申日、子日、辰日必煞南;寅日、午日、戌日必煞北)
-
SHEN_SHA
→ const List<
String> - 神煞
-
SHENGXIAO
→ const List<
String> - 生肖
-
SHI_SHEN
→ const Map<
String, String> - 十神,日主+天干为键
-
SHOU
→ const Map<
String, String> -
TIAN_SHEN
→ const List<
String> - 十二天神
-
TIAN_SHEN_TYPE
→ const Map<
String, String> - 天神类型:黄道,黑道
-
TIAN_SHEN_TYPE_LUCK
→ const Map<
String, String> - 天神类型吉凶
- TIME_YI_JI → const String
- 时辰宜忌数据
-
WU_HOU
→ const List<
String> - 物候
-
WU_XING_GAN
→ const Map<
String, String> - 天干五行
-
WU_XING_ZHI
→ const Map<
String, String> - 地支五行
-
XIU
→ const Map<
String, String> -
XIU_LUCK
→ const Map<
String, String> -
XIU_SONG
→ const Map<
String, String> -
XUN
→ const List<
String> - 旬
-
XUN_KONG
→ const List<
String> - 旬空
-
YI_JI
→ const List<
String> - 宜忌
-
YUE_XIANG
→ const List<
String> - 月相,朔月也叫新月,望月也叫满月
-
ZHENG
→ const Map<
String, String> - 政
-
ZHI
→ const List<
String> - 地支
-
ZHI_HIDE_GAN
→ const Map<
String, List< String> > - 地支藏干表,分别为主气、余气、杂气
-
ZHI_TIAN_SHEN_OFFSET
→ const Map<
String, int> - 地支对应天神偏移下标
-
ZHI_XING
→ const List<
String> - 十二值星