1
0
mirror of synced 2025-12-29 00:37:59 +08:00

v1.2.20 支持获取当年第几周;支持2种流派获取起运。

This commit is contained in:
6tail
2022-03-12 20:05:14 +08:00
parent 1a15531fb4
commit 249aa36176
8 changed files with 148 additions and 26 deletions

View File

@@ -556,13 +556,24 @@ public class EightChar {
}
/**
* 获取运
* 使用默认流派1获取运
*
* @param gender 性别1男0女
* @return 运
*/
public Yun getYun(int gender) {
return new Yun(this, gender);
return getYun(gender, 1);
}
/**
* 获取运
*
* @param gender 性别1男0女
* @param sect 流派1按天数和时辰数计算3天1年1天4个月1时辰10天2按分钟数计算
* @return 运
*/
public Yun getYun(int gender, int sect) {
return new Yun(this, gender, sect);
}
/**