C# Class NDG.Convertors.DateTimeExtensions

显示文件 Open project: nokiadatagathering/WP7-Official

Public Methods

Method Description
IsDayOfCurrentWeek ( this dt ) : bool
StartOfWeek ( this dt, DayOfWeek startOfWeek ) : System.DateTime

Method Details

IsDayOfCurrentWeek() public static method

public static IsDayOfCurrentWeek ( this dt ) : bool
dt this
return bool

StartOfWeek() public static method

public static StartOfWeek ( this dt, DayOfWeek startOfWeek ) : System.DateTime
dt this
startOfWeek DayOfWeek
return System.DateTime