Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/6tail/lunar-java
/ getMonthInChinese
Method
getMonthInChinese
src/main/java/com/nlf/calendar/Lunar.java:767–769 ·
view source on GitHub ↗
获取中文的月 @return 中文月,如正
()
Source
from the content-addressed store, hash-verified
765
* @
return
中文月,如正
766
*/
767
public
String getMonthInChinese() {
768
return
(month < 0 ?
"闰"
:
""
) + LunarUtil.MONTH[Math.abs(month)];
769
}
770
771
/**
772
* 获取中文日
Callers
6
test
Method · 0.95
test34
Method · 0.95
test35
Method · 0.95
testLunarTimeGanZhi
Method · 0.95
testLunarTimeGan
Method · 0.95
toString
Method · 0.95
Calls
no outgoing calls
Tested by
5
test
Method · 0.76
test34
Method · 0.76
test35
Method · 0.76
testLunarTimeGanZhi
Method · 0.76
testLunarTimeGan
Method · 0.76