文件名称:Calendar-algorithm-code
介绍说明--下载内容均来自于网络,请自行研究使用
阳历日期推算阴历日期的方法:前已述及阴历日期是以月亮的圆缺为计月单位,其以逢朔为初一,以月望为十五(大月为十六日),以月晦为二十九日(大月为三十日)。然而目前记时通常用阳历日期表达,如欲将阳历日期换算成阴历日期可以用以下两种方法:其一是查《新编万年历》,如查1984年6月8日是阴历几日?翻开万年历6月10日是阴历十一,则逆推6月8日是阴历初九。其二可以利用公式推算阴历日期: 设:公元年数-1977(或1901)=4q+r 则:阴历日期=14q+10.6(r+1)+年内日期序数-29.5n (注:式中q、r、n均为自然数,r<4) -Gregorian date projected lunar dates approach: As mentioned before the date of the lunar phases of the moon is the month for the meter unit, which with every new moon to new moon, and to look for the fifteen months (16 months for the large), in months dark as the 29th (big month on the 30th). However, the current Gregorian date in mind when usually expressed wish to be translated into the lunar calendar dates dates can use the following two methods: one is to check "New calendar", as Charles June 8, 1984 is the lunar calendar a few days? Open calendar June 10 lunar eleven, then thrusting June 8th lunar ninth. The second can be calculated using the formula lunar Date: Set: Year Number-1977 (or 1901) = 4q+ r then: lunar date = 14q+10.6 (r+1)+ years of the date ordinal-29.5n (Note: where q, r, n are natural numbers, r <4)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Calendar algorithm code.doc