()
| 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(); |
no test coverage detected