## 获取阴历某月天数 1. LunarUtil.getDaysOfMonth(year, month) > 返回天数(数字)。
year
:阴历年(数字)。
month
:阴历月(数字),闰月为负数,如闰二月为-2。
v1.2.0及以上版本已删除,可换用
LunarYear
中的方法。
### 示例代码 console.log(LunarUtil.getDaysOfMonth(2016,1)); ### 输出