solarlunar库, 阴历,阳历日期及转换库

阴历日期,阳历日期,阴历阳历转换库。

没时间写中文了,直接复制库文件里面的,见量。。。。

1. solar calendar interface:
 
 date range: any date.....
       
 functions for solar calendar date:
 1. initialize a solar calendar date. 
 2. get the year of a solar calendar date. 
 3. get the month of a solar calendar date.  
 4. get the day of a solar calendar date. 
 5. judge a year is leap year or not. 
 6. get the weeks day associate with a solar calendar date. 
 7. get the days of a month of a year.. 
 8. SOLAR CALENDAR VARIABLE can support the internal operation +(n),-,<,>,<=,>=,==,=.  

 

2. lunar calendar interfece:
 
 date range: from 1899.12.30  to 2099.12.30
 
 functions for lunar calendar date:
 1. initialize a lunar calendar date.
 2. get the year of a lunar calendar date.
 3. get the month of a lunar calendar date.
 4. get the day of a lunar calendar date.
 5. get the days of a month of a year.
 6. get the days of a leap month of a year.
 7. get the weeks day associate with a lunar calendar date.
 8. get the leap month of a year.
 9. LUNAR CALENDAR VARIABLE can support the internal operation +,-,<,>,<=,>=,==,=.

3. practical functions:
       
 1. convert solar calendar date to lunar calendar date.
 2. convert lunar calendar date to solar calendar date.

download:

http://ys-c.ys168.com/?LIBsolarlunar.rar_67es0c7bsp0c0bsr0c7bkt0bisp5bt0bp0c0bks0cq2bu14z97f14z

你可能感兴趣的:(C,program)