th = i + 1; LunarDate = acc - l1; im = LunarCal[y].Intercalation; if ( im != 0 && LunarMonth > im ) { LunarMonth--; if ( LunarMonth == im ) LunarMonth = -im; } if (LunarMonth < 0){ LeapMonth = LunarMonth; LunarMonth = Math.abs(LunarMonth); } if ( LunarMonth > 12 ) LunarMonth -= 12; switch(LunarMonth) { case 1: { tempMonth = "一"; break; } case 2: { tempMonth = "二"; break; } case 3: { tempMonth = "三"; break; } case 4: { tempMonth = "四"; break; } case 5: { tempMonth = "五"; break; } case 6: { tempMonth = "六"; break; } case 7: { tempMonth = "七"; break; } case 8: { tempMonth = "八"; break; } case 9: { tempMonth = "九"; break; } case 10: { tempMonth = "十"; break; } case 11: { tempMonth = "冬"; break; } case 12: { tempMonth = "腊"; break; } } switch(LunarDate) { case 1: { tempDate = "初一"; break; } case 2: { tempDate = "初二"; break; } case 3: { tempDate = "初三"; break; } case 4: { tempDate = "初四"; break; } case 5: { tempDate = "初五"; break; } case 6: { tempDate = "初六"; break; } case 7: { tempDate = "初七"; break; } case 8: { tempDate = "初八"; break; } case 9: { tempDate = "初九"; break; } case 10: { tempDate = "初十"; break; } case 11: { tempDate = "十一"; break; } case 12: { tempDate = "十二"; break; } case 13: { tempDate = "十三"; break; } case 14: { tempDate = "十四"; break; } case 15: { tempDate = "十五"; break; } case 16: { tempDate = "十六"; break; } case 17: { tempDate = "十七"; break; } case 18: { tempDate = "十八"; break; } case 19: { tempDate = "十九"; break; } case 20: { tempDate = "二十"; break; } case 21: { tempDate = "二十一"; break; } case 22: { tempDate = "二十二"; break; } case 23: { tempDate = "二十三"; break; } case 24: { tempDate = "二十四"; break; } case 25: { tempDate = "二十五"; break; } case 26: { tempDate = "二十六"; break; } case 27: { tempDate = "二十七"; break; } case 28: { tempDate = "二十八"; break; } case 29: { tempDate = "二十九"; break; } case 30: { tempDate = "三十"; break; } } today=new Date(); function initArray(){ this.length=initArray.arguments.length for(var i=0;i今天是:"+SolarYear+"年"+SolarMonth+"月"+SolarDate+"日"+d[today.getDay()+1])+""; /*document.write( " 农历"+TianganDizhi[SolarYear%60-4]+"年 "); if (LeapMonth < 0){ document.write("闰" + tempMonth + "月" + tempDate); }else{ document.write(tempMonth + "月" + tempDate); }*/ return 0; } /* 求此民國年是否為閏年, 返回 0 為平年, 1 為閏年 */ function GetLeap( year ) { if ( year % 400 == 0 ) return 1; else if ( year % 100 == 0 ) return 0; else if ( year % 4 == 0 ) return 1; else return 0; } function tagLunarCal( d, i, w, k, m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13) { this.BaseDays = d; /* 到民國 1 月 1 日到農曆正月初一的累積日數 */ this.Intercalation = i; /* 閏月月份. 0==此年沒有閏月 */ this.BaseWeekday = w; /* 此年民國 1 月 1 日為星期幾再減 1 */ this.BaseKanChih = k; /* 此年民國 1 月 1 日之干支序號減 1 */ this.MonthDays = [ m1, m2, m3, m4, m5, m6, m7, m8, m9, m10, m11, m12, m13 ]; /* 此農曆年每月之大小, 0==小月(29日), 1==大月(30日) */ } //--> CalConv(); 天气预报:
网站地图联系我们旧版主页English中国科学院
你现在的位置:首页>新闻中心>通知通告
通知通告
通知通告-中国科学院合肥物质科学研究院
天气预报:
网站地图联系我们旧版主页English中国科学院
你现在的位置:首页>新闻中心>通知通告
通知通告
资产管理 -中国科学院合肥物质科学研究院
天气预报:
网站地图联系我们旧版主页English中国科学院
你现在的位置: 首页>专题>资产管理
中国科学院合肥物质科学研究院
天气预报:
网站地图联系我们旧版主页English中国科学院
学术报告:
(7.29)加拿大移动医疗技术发展与挑战(6.28)青促会学术论坛:双色红外探测技术研究及...(6.17)Toward Microstructural Imaging of the H...