public class Yun extends Object
| 构造器和说明 |
|---|
Yun(EightChar eightChar,
int gender)
使用默认流派1初始化运
|
Yun(EightChar eightChar,
int gender,
int sect)
初始化运
|
| 限定符和类型 | 方法和说明 |
|---|---|
DaYun[] |
getDaYun()
获取10轮大运
|
DaYun[] |
getDaYun(int n)
获取大运
|
int |
getGender()
获取性别
|
Lunar |
getLunar() |
int |
getStartDay()
获取起运天数
|
int |
getStartHour()
获取起运小时数
|
int |
getStartMonth()
获取起运月数
|
Solar |
getStartSolar()
获取起运的阳历日期
|
int |
getStartYear()
获取起运年数
|
boolean |
isForward()
是否顺推
|
public Yun(EightChar eightChar, int gender)
eightChar - 八字gender - 性别,1男,0女public Yun(EightChar eightChar, int gender, int sect)
eightChar - 八字gender - 性别,1男,0女sect - 流派,1按天数和时辰数计算,3天1年,1天4个月,1时辰10天;2按分钟数计算public int getGender()
public int getStartYear()
public int getStartMonth()
public int getStartDay()
public int getStartHour()
public boolean isForward()
public Lunar getLunar()
public Solar getStartSolar()
public DaYun[] getDaYun()
public DaYun[] getDaYun(int n)
n - 轮数Copyright © 2023. All Rights Reserved.