MCPcopy Create free account
hub / github.com/SeanDragon/protools / toGanZhi

Method toGanZhi

common/src/main/java/pro/tools/time/DatePlus.java:480–482  ·  view source on GitHub ↗

天干地支 可换成枚举 @return 天干地支名称

()

Source from the content-addressed store, hash-verified

478 * @return 天干地支名称
479 */
480 public String toGanZhi() {
481 return ToolLunar.lunarYearToGanZhi(toLunar().getLunarYear());
482 }
483
484 /**
485 * 获取星座

Callers

nothing calls this directly

Calls 3

lunarYearToGanZhiMethod · 0.95
toLunarMethod · 0.95
getLunarYearMethod · 0.80

Tested by

no test coverage detected