给定某人的农历生日和年份,给出此年份的公立生日。
case:
it('.solarToLunar(year,month,day),农历转公历', function(){
var lunar = LunarCalendar.lunarToSolar(2015,4,10);
expect(lunar).to.deep.equal(lunarDate1);
});
给定某人的农历生日和年份,给出此年份的公立生日。
case:
it('.solarToLunar(year,month,day),农历转公历', function(){
var lunar = LunarCalendar.lunarToSolar(2015,4,10);
expect(lunar).to.deep.equal(lunarDate1);
});
npm i lunar-birthday
1
0.0.3
MIT