C# Class Expl.Itinerary.IntervalSchedule

Inheritance: IPrimitiveSchedule
Show file Open project: spoulson/Itinerary Class Usage Examples

Public Methods

Method Description
GetHashCode ( ) : int
GetRange ( System.DateTime RangeStart, System.DateTime RangeEnd ) : IEnumerable
IntervalSchedule ( ) : System

Default constructor.

IntervalSchedule ( System.TimeSpan Interval, System.TimeSpan Duration, System.DateTime SynchronizeTime ) : System

Constructor for events at a regular interval.

ToString ( ) : string

Private Methods

Method Description
SynchronizeTime ( System.DateTime dt ) : System.DateTime

Synchronize time to set interval and sync time.

TotalMilliseconds ( System.DateTime dt ) : long

Method Details

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetRange() public method

public GetRange ( System.DateTime RangeStart, System.DateTime RangeEnd ) : IEnumerable
RangeStart System.DateTime
RangeEnd System.DateTime
return IEnumerable

IntervalSchedule() public method

Default constructor.
public IntervalSchedule ( ) : System
return System

IntervalSchedule() public method

Constructor for events at a regular interval.
public IntervalSchedule ( System.TimeSpan Interval, System.TimeSpan Duration, System.DateTime SynchronizeTime ) : System
Interval System.TimeSpan Time interval.
Duration System.TimeSpan Duration of event.
SynchronizeTime System.DateTime Synchronize to time.
return System

ToString() public method

public ToString ( ) : string
return string