C# Class CodingDojoDateAppointer.Appointer

ファイルを表示 Open project: altnetberlin/Coding-Dojo Class Usage Examples

Public Methods

Method Description
FindDateFor ( int year, int month ) : System.DateTime
TargetDayOfWeekFor ( int month ) : DayOfWeek
WeekNumberOf ( System.DateTime date ) : int

Private Methods

Method Description
Days ( int year, int month ) : IEnumerable
IsWorkDay ( System.DateTime day ) : bool

Method Details

FindDateFor() public method

public FindDateFor ( int year, int month ) : System.DateTime
year int
month int
return System.DateTime

TargetDayOfWeekFor() public method

public TargetDayOfWeekFor ( int month ) : DayOfWeek
month int
return DayOfWeek

WeekNumberOf() public method

public WeekNumberOf ( System.DateTime date ) : int
date System.DateTime
return int