Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
lunarYearToGanZhi
Method · 0.95
toLunar
Method · 0.95
getLunarYear
Method · 0.80
Tested by
no test coverage detected