## 获取年、月 1. .getYear() > 获取阳历年 2. .getMonth() > 获取阳历月 ### 示例代码 var d = SolarSeason.fromDate(new Date()); console.log(d.getYear()); console.log(d.getMonth()); ### 输出