C# Class Itenso.TimePeriod.TimeLineMomentCollection

Inheritance: ITimeLineMomentCollection
Show file Open project: jwg4/date-difference Class Usage Examples

Public Methods

Method Description
Add ( ITimePeriod period ) : void
AddAll ( IEnumerable periods ) : void
Clear ( ) : void
Contains ( System.DateTime moment ) : bool
Find ( System.DateTime moment ) : ITimeLineMoment
GetEnumerator ( ) : IEnumerator
Remove ( ITimePeriod period ) : void
this ( int index ) : ITimeLineMoment

Private Methods

Method Description
AddPeriod ( System.DateTime moment, ITimePeriod period ) : void
IEnumerable ( ) : IEnumerator
RemovePeriod ( System.DateTime moment, ITimePeriod period ) : void
Sort ( ) : void

Method Details

Add() public method

public Add ( ITimePeriod period ) : void
period ITimePeriod
return void

AddAll() public method

public AddAll ( IEnumerable periods ) : void
periods IEnumerable
return void

Clear() public method

public Clear ( ) : void
return void

Contains() public method

public Contains ( System.DateTime moment ) : bool
moment System.DateTime
return bool

Find() public method

public Find ( System.DateTime moment ) : ITimeLineMoment
moment System.DateTime
return ITimeLineMoment

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

Remove() public method

public Remove ( ITimePeriod period ) : void
period ITimePeriod
return void

this() public method

public this ( int index ) : ITimeLineMoment
index int
return ITimeLineMoment