企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
阴历和佛历之间的相互转换,必须得支持才行。 1. .getFoto() > 返回对应的佛历对象。 ### 示例代码 ``` // 实例化 const lunar = Lunar.fromYmd(1986, 4, 21); // 转佛历 const foto = lunar.getFoto(); console.log(foto.toFullString()); ```