NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
阳历月的实例化有以下几种方式: 1. SolarMonth.fromYm(year, month) > 指定`阳历年(数字)`、`阳历月(数字)`生成阳历月对象。 2. SolarMonth.fromDate(date) > 指定`日期(Date)`生成阳历月对象。 ### 示例代码 ``` const d = SolarMonth.fromYm(2016,1); console.log(d.toFullString()); ```