We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
###LunarCalendar.solarToLunar(year,month,day)### 將公曆轉換為農曆
####參數說明####
@param {Number} year 公曆年 範圍[1891-2100] @param {Number} month 公曆月 範圍[1-12] @param {Number} day 公曆日 範圍[1-31]
####返回數據#### { "zodiac": "蛇", //生肖屬相 "GanZhiYear": "癸巳", //干支紀年 "GanZhiMonth": "乙丑", //干支紀月 "GanZhiDay": "癸卯", //干支紀日 "worktime": 2, //0無特殊安排,1工作,2放假 "lunarYear": 2014, //農曆年 "lunarMonth": 1, //農曆月(1-13,有閏月情況,比如當前閏9月,10表示閏9月,11表示10月) "lunarDay": 2, //農曆日 "lunarMonthName": "正月", //農曆月中文名 "lunarDayName": "初二", //農曆日中文名 "lunarLeapMonth": 9, //農曆閏月所在月份,0表示無閏月 "solarFestival": "", //公曆節假日,undefined或『勞動節』之類 "lunarFestival": "", //農曆節假日,undefined或『除夕』之類 "term": "" //二十四節氣名,undefined或『立春』之類 }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
###LunarCalendar.solarToLunar(year,month,day)### 將公曆轉換為農曆
####參數說明####
####返回數據#### { "zodiac": "蛇", //生肖屬相 "GanZhiYear": "癸巳", //干支紀年 "GanZhiMonth": "乙丑", //干支紀月 "GanZhiDay": "癸卯", //干支紀日 "worktime": 2, //0無特殊安排,1工作,2放假 "lunarYear": 2014, //農曆年 "lunarMonth": 1, //農曆月(1-13,有閏月情況,比如當前閏9月,10表示閏9月,11表示10月) "lunarDay": 2, //農曆日 "lunarMonthName": "正月", //農曆月中文名 "lunarDayName": "初二", //農曆日中文名 "lunarLeapMonth": 9, //農曆閏月所在月份,0表示無閏月 "solarFestival": "", //公曆節假日,undefined或『勞動節』之類 "lunarFestival": "", //農曆節假日,undefined或『除夕』之類 "term": "" //二十四節氣名,undefined或『立春』之類 }
The text was updated successfully, but these errors were encountered: