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

Method getYearInChinese

src/main/java/com/nlf/calendar/Tao.java:55–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 }
54
55 public String getYearInChinese() {
56 String y = getYear() + "";
57 StringBuilder s = new StringBuilder();
58 for (int i = 0, j = y.length(); i < j; i++) {
59 s.append(LunarUtil.NUMBER[y.charAt(i) - '0']);
60 }
61 return s.toString();
62 }
63
64 public String getMonthInChinese() {
65 return lunar.getMonthInChinese();

Callers 2

toStringMethod · 0.95
toFullStringMethod · 0.95

Calls 2

getYearMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected