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

Method getJie

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

获取节令 @return 节令

()

Source from the content-addressed store, hash-verified

839 * @return 节令
840 */
841 public String getJie() {
842 for (int i = 0, j = JIE_QI_IN_USE.length; i < j; i += 2) {
843 String key = JIE_QI_IN_USE[i];
844 Solar d = jieQi.get(key);
845 if (d.getYear() == solar.getYear() && d.getMonth() == solar.getMonth() && d.getDay() == solar.getDay()) {
846 return convertJieQi(key);
847 }
848 }
849 return "";
850 }
851
852 /**
853 * 获取气令

Callers 3

testMethod · 0.95
testMethod · 0.95
test9Method · 0.80

Calls 7

getYearMethod · 0.95
getMonthMethod · 0.95
getDayMethod · 0.95
convertJieQiMethod · 0.95
getYearMethod · 0.45
getMonthMethod · 0.45
getDayMethod · 0.45

Tested by 3

testMethod · 0.76
testMethod · 0.76
test9Method · 0.64