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