C# Class Itenso.TimePeriod.CalendarDateAdd

Inheritance: DateAdd
Mostrar archivo Open project: jwg4/date-difference Class Usage Examples

Public Methods

Method Description
Add ( System.DateTime start, System.TimeSpan offset, SeekBoundaryMode seekBoundaryMode = SeekBoundaryMode.Next ) : DateTime?
AddWeekendWeekDays ( ) : void
AddWorkingWeekDays ( ) : void
CalendarDateAdd ( ) : System
CalendarDateAdd ( ITimeCalendar calendar ) : System
Subtract ( System.DateTime start, System.TimeSpan offset, SeekBoundaryMode seekBoundaryMode = SeekBoundaryMode.Next ) : DateTime?

Protected Methods

Method Description
CalculateEnd ( System.DateTime start, System.TimeSpan offset, SeekDirection seekDirection, SeekBoundaryMode seekBoundaryMode ) : DateTime?

Private Methods

Method Description
FindNextWeek ( Week current ) : Week
FindPreviousWeek ( Week current ) : Week
GetAvailableWeekPeriods ( ITimePeriod period ) : IEnumerable

Method Details

Add() public method

public Add ( System.DateTime start, System.TimeSpan offset, SeekBoundaryMode seekBoundaryMode = SeekBoundaryMode.Next ) : DateTime?
start System.DateTime
offset System.TimeSpan
seekBoundaryMode SeekBoundaryMode
return DateTime?

AddWeekendWeekDays() public method

public AddWeekendWeekDays ( ) : void
return void

AddWorkingWeekDays() public method

public AddWorkingWeekDays ( ) : void
return void

CalculateEnd() protected method

protected CalculateEnd ( System.DateTime start, System.TimeSpan offset, SeekDirection seekDirection, SeekBoundaryMode seekBoundaryMode ) : DateTime?
start System.DateTime
offset System.TimeSpan
seekDirection SeekDirection
seekBoundaryMode SeekBoundaryMode
return DateTime?

CalendarDateAdd() public method

public CalendarDateAdd ( ) : System
return System

CalendarDateAdd() public method

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

Subtract() public method

public Subtract ( System.DateTime start, System.TimeSpan offset, SeekBoundaryMode seekBoundaryMode = SeekBoundaryMode.Next ) : DateTime?
start System.DateTime
offset System.TimeSpan
seekBoundaryMode SeekBoundaryMode
return DateTime?