C# Class DesktopHelper.Util.ChineseDate

中国农历
Datei anzeigen Open project: JimmyFung/DesktopHelper

Public Methods

Method Description
GetChinaDate ( System.DateTime dt ) : string

获取农历

GetChinaHoliday ( System.DateTime dt ) : string

获取农历节日

GetDay ( System.DateTime dt ) : string

获取农历日期

GetHoliday ( System.DateTime dt ) : string

获取公历节日

GetHour ( System.DateTime dt ) : string

获取时辰

GetMonth ( System.DateTime dt ) : string

获取农历月份

GetSolarTerm ( System.DateTime dt ) : string

获取节气

GetYear ( System.DateTime dt ) : string

获取农历年份

Private Methods

Method Description
ChineseDate ( ) : System

Method Details

GetChinaDate() public static method

获取农历
public static GetChinaDate ( System.DateTime dt ) : string
dt System.DateTime
return string

GetChinaHoliday() public static method

获取农历节日
public static GetChinaHoliday ( System.DateTime dt ) : string
dt System.DateTime
return string

GetDay() public static method

获取农历日期
public static GetDay ( System.DateTime dt ) : string
dt System.DateTime
return string

GetHoliday() public static method

获取公历节日
public static GetHoliday ( System.DateTime dt ) : string
dt System.DateTime
return string

GetHour() public static method

获取时辰
public static GetHour ( System.DateTime dt ) : string
dt System.DateTime
return string

GetMonth() public static method

获取农历月份
public static GetMonth ( System.DateTime dt ) : string
dt System.DateTime
return string

GetSolarTerm() public static method

获取节气
public static GetSolarTerm ( System.DateTime dt ) : string
dt System.DateTime
return string

GetYear() public static method

获取农历年份
public static GetYear ( System.DateTime dt ) : string
dt System.DateTime
return string