MCPcopy Create free account
hub / github.com/6tail/lunar-java / getBaZi

Method getBaZi

src/main/java/com/nlf/calendar/Lunar.java:1637–1646  ·  view source on GitHub ↗

获取八字,男性也称乾造,女性也称坤造(以立春交接时刻作为新年的开始) @return 八字(男性也称乾造,女性也称坤造) @deprecated 使用getEightChar

()

Source from the content-addressed store, hash-verified

1635 * @deprecated 使用getEightChar
1636 */
1637 @Deprecated
1638 public List<String> getBaZi() {
1639 List<String> l = new ArrayList<String>(4);
1640 EightChar eightChar = getEightChar();
1641 l.add(eightChar.getYear());
1642 l.add(eightChar.getMonth());
1643 l.add(eightChar.getDay());
1644 l.add(eightChar.getTime());
1645 return l;
1646 }
1647
1648 /**
1649 * 获取八字五行

Callers 8

test1Method · 0.95
test2Method · 0.95
test3Method · 0.95
test4Method · 0.95
test5Method · 0.95
test6Method · 0.95
test7Method · 0.95
testBaziShiShenZhiMethod · 0.95

Calls 5

getEightCharMethod · 0.95
getYearMethod · 0.95
getMonthMethod · 0.95
getDayMethod · 0.95
getTimeMethod · 0.95

Tested by 8

test1Method · 0.76
test2Method · 0.76
test3Method · 0.76
test4Method · 0.76
test5Method · 0.76
test6Method · 0.76
test7Method · 0.76
testBaziShiShenZhiMethod · 0.76