C# Class Itenso.TimePeriod.TimePeriodChain

Inheritance: ITimePeriodChain
Afficher le fichier Open project: jwg4/date-difference Class Usage Examples

Méthodes publiques

Méthode Description
Add ( ITimePeriod item ) : void
AddAll ( IEnumerable timePeriods ) : void
Clear ( ) : void
Contains ( ITimePeriod period ) : bool
ContainsPeriod ( ITimePeriod test ) : bool
CopyTo ( ITimePeriod array, int arrayIndex ) : void
Equals ( object obj ) : bool
GetDescription ( ITimeFormatter formatter = null ) : string
GetEnumerator ( ) : IEnumerator
GetHashCode ( ) : int
GetRelation ( ITimePeriod test ) : PeriodRelation
HasInside ( System.DateTime test ) : bool
HasInside ( ITimePeriod test ) : bool
IndexOf ( ITimePeriod period ) : int
Insert ( int index, ITimePeriod period ) : void
IntersectsWith ( ITimePeriod test ) : bool
IsSamePeriod ( ITimePeriod test ) : bool
Move ( System.TimeSpan delta ) : void
OverlapsWith ( ITimePeriod test ) : bool
Remove ( ITimePeriod period ) : bool
RemoveAt ( int index ) : void
Setup ( System.DateTime newStart, System.DateTime newEnd ) : void
TimePeriodChain ( ) : System
TimePeriodChain ( IEnumerable timePeriods ) : System
ToString ( ) : string
this ( int index ) : ITimePeriod

Méthodes protégées

Méthode Description
CheckReadOnlyItem ( ITimePeriod timePeriod ) : void
CheckSpaceAfter ( System.DateTime moment, System.TimeSpan duration ) : void
CheckSpaceBefore ( System.DateTime moment, System.TimeSpan duration ) : void
ComputeHashCode ( ) : int
Format ( ITimeFormatter formatter ) : string
IsEqual ( object obj ) : bool

Private Methods

Méthode Description
HasSameData ( IList comp ) : bool
IEnumerable ( ) : IEnumerator

Method Details

Add() public méthode

public Add ( ITimePeriod item ) : void
item ITimePeriod
Résultat void

AddAll() public méthode

public AddAll ( IEnumerable timePeriods ) : void
timePeriods IEnumerable
Résultat void

CheckReadOnlyItem() protected méthode

protected CheckReadOnlyItem ( ITimePeriod timePeriod ) : void
timePeriod ITimePeriod
Résultat void

CheckSpaceAfter() protected méthode

protected CheckSpaceAfter ( System.DateTime moment, System.TimeSpan duration ) : void
moment System.DateTime
duration System.TimeSpan
Résultat void

CheckSpaceBefore() protected méthode

protected CheckSpaceBefore ( System.DateTime moment, System.TimeSpan duration ) : void
moment System.DateTime
duration System.TimeSpan
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

ComputeHashCode() protected méthode

protected ComputeHashCode ( ) : int
Résultat int

Contains() public méthode

public Contains ( ITimePeriod period ) : bool
period ITimePeriod
Résultat bool

ContainsPeriod() public méthode

public ContainsPeriod ( ITimePeriod test ) : bool
test ITimePeriod
Résultat bool

CopyTo() public méthode

public CopyTo ( ITimePeriod array, int arrayIndex ) : void
array ITimePeriod
arrayIndex int
Résultat void

Equals() public final méthode

public final Equals ( object obj ) : bool
obj object
Résultat bool

Format() protected méthode

protected Format ( ITimeFormatter formatter ) : string
formatter ITimeFormatter
Résultat string

GetDescription() public méthode

public GetDescription ( ITimeFormatter formatter = null ) : string
formatter ITimeFormatter
Résultat string

GetEnumerator() public méthode

public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

GetHashCode() public final méthode

public final GetHashCode ( ) : int
Résultat int

GetRelation() public méthode

public GetRelation ( ITimePeriod test ) : PeriodRelation
test ITimePeriod
Résultat PeriodRelation

HasInside() public méthode

public HasInside ( System.DateTime test ) : bool
test System.DateTime
Résultat bool

HasInside() public méthode

public HasInside ( ITimePeriod test ) : bool
test ITimePeriod
Résultat bool

IndexOf() public méthode

public IndexOf ( ITimePeriod period ) : int
period ITimePeriod
Résultat int

Insert() public méthode

public Insert ( int index, ITimePeriod period ) : void
index int
period ITimePeriod
Résultat void

IntersectsWith() public méthode

public IntersectsWith ( ITimePeriod test ) : bool
test ITimePeriod
Résultat bool

IsEqual() protected méthode

protected IsEqual ( object obj ) : bool
obj object
Résultat bool

IsSamePeriod() public méthode

public IsSamePeriod ( ITimePeriod test ) : bool
test ITimePeriod
Résultat bool

Move() public méthode

public Move ( System.TimeSpan delta ) : void
delta System.TimeSpan
Résultat void

OverlapsWith() public méthode

public OverlapsWith ( ITimePeriod test ) : bool
test ITimePeriod
Résultat bool

Remove() public méthode

public Remove ( ITimePeriod period ) : bool
period ITimePeriod
Résultat bool

RemoveAt() public méthode

public RemoveAt ( int index ) : void
index int
Résultat void

Setup() public méthode

public Setup ( System.DateTime newStart, System.DateTime newEnd ) : void
newStart System.DateTime
newEnd System.DateTime
Résultat void

TimePeriodChain() public méthode

public TimePeriodChain ( ) : System
Résultat System

TimePeriodChain() public méthode

public TimePeriodChain ( IEnumerable timePeriods ) : System
timePeriods IEnumerable
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

this() public méthode

public this ( int index ) : ITimePeriod
index int
Résultat ITimePeriod