Class God
java.lang.Object
org.miaixz.bus.core.center.date.culture.Tradition
org.miaixz.bus.core.center.date.culture.Loops
org.miaixz.bus.core.center.date.culture.Samsara
org.miaixz.bus.core.center.date.culture.cn.God
神煞
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GodfromIndex(int index) static GodgetDayGods(SixtyCycle month, SixtyCycle day) 日神煞列表(吉神宜趋,凶神宜忌)getLuck()吉凶next(int n) 推移Methods inherited from class org.miaixz.bus.core.center.date.culture.Samsara
getIndex, getName, getSize, indexOf, indexOf, nextIndex
-
Field Details
-
NAMES
-
dayGods
吉神宜趋,凶神宜忌数据(参考https://www.51wnl-cq.com/并进行了部分数据修正)
-
-
Constructor Details
-
God
public God(int index) -
God
-
-
Method Details
-
fromIndex
-
fromName
-
next
Description copied from interface:Culture推移- Parameters:
n- 推移步数- Returns:
- this
-
getLuck
吉凶- Returns:
- 吉凶
-
getDayGods
日神煞列表(吉神宜趋,凶神宜忌)- Parameters:
month- 月干支day- 日干支- Returns:
- 神煞列表
-