公历转换农历的算法JavaScript.docx
《公历转换农历的算法JavaScript.docx》由会员分享,可在线阅读,更多相关《公历转换农历的算法JavaScript.docx(9页珍藏版)》请在冰豆网上搜索。
公历转换农历的算法JavaScript
阴历阳历转换
using
using
using
using
using
using
using
using
using
using
using
namespace
{
{
{
Main(System.DateTime.Now);
GetChunJie(2006);
}
WebFormDesignergeneratedcode{
{
"
"
"
"
{
"
"
"
"
"
"
//
{
0x4ae0,0xa570,0x5268,0xd260xa4d8,0xa4d0,0xd250,0xd54
0xa4b0,0xb258,0x6a50,0x6d40xd4a0,0xea50,0x6d48,0x5ad0xda50,0xb550,0x56a0,0xaad0xb550,0x55a8,0x4da0,0xa5b0xab50,0x4b60,0xa570,0xa570x4ae8,0x4ad0,0xa4d0,0xd260x49b0,0xa4b8,0xa4b0,0xb250x4970,0x64b0,0x6a50,0xea50xd4a8,0xd4a0,0xda50,0x5aa0xb4a0,0xb550,0xb550,0x55a0x6aa0,0xad50,0x4da8,0x4b60x6b50,0x96d0,0x4ae8,0x4ad
0x56d0,0x4ad8,0x49b0,0xa4b//
{
0x00,0x50,0x04,0x00,0x20,0x60,0x05,0x00,0x20,0x70,0x05,0x00,0x40,0x02,0x06,0x00,0x50,0x03,0x07,0x00,0x60,0x04,0x00,0x20,0x70,0x05,0x00,0x30,0x80,0x06,0x00,0x40,0x03,0x07,0x00,0x50,0x04,0x08,0x00,0x60,0x04,0x0a,0x00,0x60,0x05,0x00,0x30,0x80,0x05,0x00,0x40,0x02,0x07,0x00,0x50,0x04,0x09,0x00,0x60,0x04,
0x00,0x20,0x60,0x05,0x00,0x30,0xb0,0x06,0x00,0x50,0x02,0x07,0x00,0x50,0x03};
//
//
//1
//
//7
//
//******************************
//
所以.
//******************************
//
//
//1
//6,21,4,19,6,21,5,21,6,22,6,2//9,6,11,4,9,6,10,6,9,7,9,
温馨推荐
您可前往XX文库小程序
享受更优阅读体验
不去了
立即体验
//
//
//
{
0x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0x96,0x96,0x97,0x80x96,0xA5,0x87,0x96,0x87,0x80x86,0xA5,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0x96,0x96,0x97,0x90x96,0xA5,0x87,0x96,0x87,0x80x86,0xA5,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0x96,0x96,0x97,0x90x96,0xA5,0x87,0x96,0x87,0x80x86,0xA5,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA6,0x97,0x90x96,0xB4,0x96,0xA6,0x97,0x9
0x96,0xA5,0x97,0x96,0x97,0x80x96,0xA5,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA6,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA5,0x97,0x96,0x97,0x80x96,0xA5,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0x96,0x96,0x97,0x80x96,0xA5,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0x96,0x96,0x97,0x80x96,0xA5,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0x96,0x96,0x97,0x8
0x96,0xA5,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0x96,0x96,0x97,0x90x96,0xA5,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0x96,0x96,0x97,0x90x96,0xA5,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0x96,0x96,0x97,0x90x96,0xA5,0x96,0xA5,0xA6,0x90x95,0xB4,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA6,0x97,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA5,0xA6,0xA5,0xA6,0x9
0xA5,0xB4,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA5,0xA6,0xA5,0xA6,0x90xA5,0xB4,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA5,0xA5,0xA5,0xA6,0x90xA5,0xB4,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0xA5,0xA5,0xA6,0x90xA5,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0xA5,0xA5,0xA6,0x90xA5,0xB4,0x96,0xA5,0x96,0x9
0x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0xA5,0xA5,0xA6,0xA0xA5,0xB4,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0xA5,0xA5,0xA6,0xA0xA5,0xB5,0x96,0xA5,0xA6,0x90x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x97,0x90x96,0xA4,0xA5,0xB5,0xA6,0xA0xA5,0xB4,0x96,0xA5,0x96,0x90x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0x96,0xA6,0x96,0x90x96,0xA4,0xA5,0xB5,0xA6,0xA0xA5,0xB4,0x96,0xA5,0xA6,0x90x95,0xB4,0x96,0xA5,0x96,0x9
0x95,0xB4,0x96,0xA5,0x96,0x90x96,0xB4,0xA5,0xB5,0xA6,0xA0xA5,0xB4,0xA6,0xA5,0xA6,0x90x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,0xC3,0xA5,0xB5,0xA6,0xA0xA5,0xB3,0xA5,0xA5,0xA6,0xA0xA5,0xB4,0x96,0xA5,0x96,0x90x95,0xB4,0xA5,0xB4,0xA5,0xA0xA5,0xC3,0xA5,0xB5,0xA6,0xA0xA5,0xB3,0xA5,0xA5,0xA6,0xA0xA5,0xB4,0x96,0xA5,0x96,0x90x95,0xB4,0xA5,0xB4,0xA5,0xA0xA5,0xC3,0xA5,0xB5,0xA6,0xA
0xA5,0xB3,0xA5,0xA5,0xA6,0xA0xA5,0xB4,0x96,0xA5,0xA6,0x90x95,0xB4,0xA5,0xB4,0xA5,0xA0xA5,0xC3,0xA5,0xB5,0xA6,0xA0xA5,0xB3,0xA5,0xA5,0xA6,0xA0xA5,0xB4,0x96,0xA5,0xA6,0x90x95,0xB4,0xA5,0xB4,0xA5,0xA0xA5,0xC3,0xA5,0xB5,0xA5,0xA0xA5,0xB3,0xA5,0xB5,0xA6,0xA0xA5,0xB4,0x96,0xA5,0xA6,0x90x95,0xB4,0xA5,0xB4,0xA5,0xA0xA5,0xC3,0xA5,0xB4,0xA5,0xA0xA5,0xB3,0xA5,0xB5,0xA6,0xA0xA5,0xB4,0x96,0xA5,0xA6,0x90x95,0xB4,0xA5,0xB4,0xA5,0xA0xA4,0xC3,0xA5,0xA5,0xA5,0xA0xA5,0xC3,0xA5,0xB5,0xA6,0xA
{
}
{
Date=DateTime.Today;}
{
Date=dt.Date;
}
{
Y=m_Date.Year;
M=m_Date.Month;
D=m_Date.Day;
Y=M*100+D;
}
{
constellation=Getconstellation();{
{
}
{
iYear=m_Date.Year;
{
iMonth=m_Date.Month;
iDay=m_Date.Day;
Flag=gLunarHolDay[(iYear-START{Day=15-((Flag>>4)&0x0{Day=(Flag&0x0f)+15;};
{
{
{
}
{
}
{
{
{
strMonth="";
strMonth=strMonth+szText.SustrMonth=strMonth+"
}
{strMonth="
{strMonth="
}
{
{
strDay=szText1.Substring((iDastrDay=strDay+szText2.Substr}
{
strDay=szText1.Substring((iDa
strDay=strDay+"
}
}
{
TimeSpants;
iYear=(
{
i=l_GetLunarHolDay();
{
{
ts=m_Date-(
l_CalcLunarDate(
}
}
{
{
Flag=gLunarMonth[(iLunarYear-S
{
{
}
//
{
{
Height=0;
Low=29;
iBit=16-iLunarMonth;
{iBit--;}
{Low++;}
{
{Height=30;}
{Height=29;}
}
}
{
{
Days=0;
{
tmp=LunarMonthDays(iLunarYeaDays=Days+((
Days=Days+(
}
}
{
//
{
iYear=START_YEAR-1;
{
iMonth=11;
iDay=(
}
{
iMonth=12;
iDay=(
}
}
iSpanDays=iSpanDays-49;
iYear=START_YEAR;
iMonth=1;
iDay=1;
tmp=(
{
iSpanDays=iSpanDays-tmp;iYear++;
tmp=(
}
tmp=LunarMonthDays(iYear
{
iSpanDays=iSpanDays-tmp;
{
tmp=(LunarMonthDays(iYea
{
iSpanDays=iSpanDays-tm
}
iMonth++;
tmp=LunarMonthDays(iYear,iMo}
iDay=(
}
{
iYear=(
strYear=szText1.Substring((iYea
strYear=strYear+szText2.Substrin
strYear=strYear+"";
strYear=strYear+szText3.SubstrinstrYear=strYear+"
}
}
{
CNDatedt=
Response.Write("
Response.Write(dt.l_GetLunarHolDay()Response.Write(dt.GetLunarHolDay()+"Response.Write("
Response.Write("2
Response.Write("
Response.Write(""+dt.FormatLunarYe}
{
{
DateTimeDate1=Convert.ToDateTimCNDatedt=
{
Response.Write(year+"
}
}
}
}
}