Property | Type | Description | |
---|---|---|---|
BirthStones | string[] | ||
ChineseDayName | string[] | ||
ChineseMonthName | string[] | ||
ChineseWeekName | string[] | ||
Constellations | string[] |
Method | Description | |
---|---|---|
CalcConstellation ( System.DateTime date ) : void |
获取指定日期的星座和生日石
|
|
CalendarInfo ( ) : System |
默认构造体传入当前日期
|
|
CalendarInfo ( System.DateTime date ) : System |
生成指定日期的公历和阴历
|
|
FromLunarDate ( System.DateTime date, bool IsLeapMonth ) : |
create calendarInfo of Lunar
|
|
FromLunarDate ( int year, int month, int day, bool IsLeapMonth ) : |
create calendarInfo of Lunar
|
|
FromLunarDate ( string date, bool IsLeapMonth ) : |
create calendarInfo of Lunar
|
|
GetDateFromLunarDate ( System.DateTime date, bool IsLeapMonth ) : System.DateTime |
Lunar To Solar
|
|
GetDateFromLunarDate ( int year, int month, int day, bool IsLeapMonth ) : System.DateTime |
农历转公历
|
Method | Description | |
---|---|---|
GetLunarNewYearDate ( int year ) : System.DateTime |
根据指定公历年查找农历新年
|
|
LoadFromSolarDate ( ) : void |
public CalcConstellation ( System.DateTime date ) : void | ||
date | System.DateTime | specifica date |
return | void |
public CalendarInfo ( System.DateTime date ) : System | ||
date | System.DateTime | specific date |
return | System |
public static FromLunarDate ( System.DateTime date, bool IsLeapMonth ) : |
||
date | System.DateTime | Lunar Date |
IsLeapMonth | bool | IsLeapMonth |
return |
public static FromLunarDate ( int year, int month, int day, bool IsLeapMonth ) : |
||
year | int | Lunar Year |
month | int | Lunar Month |
day | int | Lunar Date |
IsLeapMonth | bool | IsLeapMonth |
return |
public static FromLunarDate ( string date, bool IsLeapMonth ) : |
||
date | string | ie: 20070209 |
IsLeapMonth | bool | IsLeapMonth |
return |
public static GetDateFromLunarDate ( System.DateTime date, bool IsLeapMonth ) : System.DateTime | ||
date | System.DateTime | Lunar Date |
IsLeapMonth | bool | IsLeapMonth |
return | System.DateTime |
public static GetDateFromLunarDate ( int year, int month, int day, bool IsLeapMonth ) : System.DateTime | ||
year | int | Lunar Year |
month | int | Lunar Month |
day | int | Lunar day |
IsLeapMonth | bool | IsLeapMonth |
return | System.DateTime |