C# Class Itenso.TimePeriodDemo.CustomWeek

Inheritance: Itenso.TimePeriod.CalendarTimeRange
显示文件 Open project: jwg4/date-difference Class Usage Examples

Public Methods

Method Description
CustomWeek ( ) : System
CustomWeek ( System.DateTime moment, DayOfWeek firstDayOfWeek ) : System
CustomWeek ( System.DateTime moment, DayOfWeek firstDayOfWeek, ITimeCalendar calendar ) : System
CustomWeek ( DayOfWeek firstDayOfWeek ) : System
CustomWeek ( DayOfWeek firstDayOfWeek, ITimeCalendar calendar ) : System
CustomWeek ( ITimeCalendar calendar ) : System
GetDays ( ) : ITimePeriodCollection

Private Methods

Method Description
GetPeriodOf ( System.DateTime moment, DayOfWeek firstDayOfWeek ) : TimeRange

Method Details

CustomWeek() public method

public CustomWeek ( ) : System
return System

CustomWeek() public method

public CustomWeek ( System.DateTime moment, DayOfWeek firstDayOfWeek ) : System
moment System.DateTime
firstDayOfWeek DayOfWeek
return System

CustomWeek() public method

public CustomWeek ( System.DateTime moment, DayOfWeek firstDayOfWeek, ITimeCalendar calendar ) : System
moment System.DateTime
firstDayOfWeek DayOfWeek
calendar ITimeCalendar
return System

CustomWeek() public method

public CustomWeek ( DayOfWeek firstDayOfWeek ) : System
firstDayOfWeek DayOfWeek
return System

CustomWeek() public method

public CustomWeek ( DayOfWeek firstDayOfWeek, ITimeCalendar calendar ) : System
firstDayOfWeek DayOfWeek
calendar ITimeCalendar
return System

CustomWeek() public method

public CustomWeek ( ITimeCalendar calendar ) : System
calendar ITimeCalendar
return System

GetDays() public method

public GetDays ( ) : ITimePeriodCollection
return ITimePeriodCollection