C# 클래스 Itenso.TimePeriod.TimePeriodCollection

상속: ITimePeriodCollection
파일 보기 프로젝트 열기: jwg4/date-difference 1 사용 예제들

공개 메소드들

메소드 설명
Add ( ITimePeriod item ) : void
AddAll ( IEnumerable timePeriods ) : void
Clear ( ) : void
Contains ( ITimePeriod item ) : 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
HasInsidePeriods ( ITimePeriod test ) : bool
HasIntersectionPeriods ( System.DateTime test ) : bool
HasIntersectionPeriods ( ITimePeriod test ) : bool
HasOverlapPeriods ( ITimePeriod test ) : bool
IndexOf ( ITimePeriod item ) : int
Insert ( int index, ITimePeriod item ) : void
InsidePeriods ( ITimePeriod test ) : ITimePeriodCollection
IntersectionPeriods ( System.DateTime test ) : ITimePeriodCollection
IntersectionPeriods ( ITimePeriod test ) : ITimePeriodCollection
IntersectsWith ( ITimePeriod test ) : bool
IsSamePeriod ( ITimePeriod test ) : bool
Move ( System.TimeSpan delta ) : void
OverlapPeriods ( ITimePeriod test ) : ITimePeriodCollection
OverlapsWith ( ITimePeriod test ) : bool
RelationPeriods ( ITimePeriod test, PeriodRelation relation ) : ITimePeriodCollection
Remove ( ITimePeriod item ) : bool
RemoveAt ( int index ) : void
Setup ( System.DateTime newStart, System.DateTime newEnd ) : void
SortByDuration ( ListSortDirection sortDirection = ListSortDirection.Ascending ) : void
SortByEnd ( ListSortDirection sortDirection = ListSortDirection.Ascending ) : void
SortByStart ( ListSortDirection sortDirection = ListSortDirection.Ascending ) : void
TimePeriodCollection ( ) : System
TimePeriodCollection ( IEnumerable timePeriods ) : System
ToString ( ) : string
this ( int index ) : ITimePeriod

보호된 메소드들

메소드 설명
ComputeHashCode ( ) : int
Format ( ITimeFormatter formatter ) : string
GetDuration ( ) : TimeSpan?
GetEnd ( ) : DateTime?
GetStart ( ) : DateTime?
GetStartEnd ( System.DateTime &start, System.DateTime &end ) : void
IsEqual ( object obj ) : bool

비공개 메소드들

메소드 설명
HasSameData ( IList comp ) : bool
IEnumerable ( ) : IEnumerator

메소드 상세

Add() 공개 메소드

public Add ( ITimePeriod item ) : void
item ITimePeriod
리턴 void

AddAll() 공개 메소드

public AddAll ( IEnumerable timePeriods ) : void
timePeriods IEnumerable
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

ComputeHashCode() 보호된 메소드

protected ComputeHashCode ( ) : int
리턴 int

Contains() 공개 메소드

public Contains ( ITimePeriod item ) : bool
item ITimePeriod
리턴 bool

ContainsPeriod() 공개 메소드

public ContainsPeriod ( ITimePeriod test ) : bool
test ITimePeriod
리턴 bool

CopyTo() 공개 메소드

public CopyTo ( ITimePeriod array, int arrayIndex ) : void
array ITimePeriod
arrayIndex int
리턴 void

Equals() 공개 최종 메소드

public final Equals ( object obj ) : bool
obj object
리턴 bool

Format() 보호된 메소드

protected Format ( ITimeFormatter formatter ) : string
formatter ITimeFormatter
리턴 string

GetDescription() 공개 메소드

public GetDescription ( ITimeFormatter formatter = null ) : string
formatter ITimeFormatter
리턴 string

GetDuration() 보호된 메소드

protected GetDuration ( ) : TimeSpan?
리턴 TimeSpan?

GetEnd() 보호된 메소드

protected GetEnd ( ) : DateTime?
리턴 DateTime?

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

GetHashCode() 공개 최종 메소드

public final GetHashCode ( ) : int
리턴 int

GetRelation() 공개 메소드

public GetRelation ( ITimePeriod test ) : PeriodRelation
test ITimePeriod
리턴 PeriodRelation

GetStart() 보호된 메소드

protected GetStart ( ) : DateTime?
리턴 DateTime?

GetStartEnd() 보호된 메소드

protected GetStartEnd ( System.DateTime &start, System.DateTime &end ) : void
start System.DateTime
end System.DateTime
리턴 void

HasInside() 공개 메소드

public HasInside ( System.DateTime test ) : bool
test System.DateTime
리턴 bool

HasInside() 공개 메소드

public HasInside ( ITimePeriod test ) : bool
test ITimePeriod
리턴 bool

HasInsidePeriods() 공개 메소드

public HasInsidePeriods ( ITimePeriod test ) : bool
test ITimePeriod
리턴 bool

HasIntersectionPeriods() 공개 메소드

public HasIntersectionPeriods ( System.DateTime test ) : bool
test System.DateTime
리턴 bool

HasIntersectionPeriods() 공개 메소드

public HasIntersectionPeriods ( ITimePeriod test ) : bool
test ITimePeriod
리턴 bool

HasOverlapPeriods() 공개 메소드

public HasOverlapPeriods ( ITimePeriod test ) : bool
test ITimePeriod
리턴 bool

IndexOf() 공개 메소드

public IndexOf ( ITimePeriod item ) : int
item ITimePeriod
리턴 int

Insert() 공개 메소드

public Insert ( int index, ITimePeriod item ) : void
index int
item ITimePeriod
리턴 void

InsidePeriods() 공개 메소드

public InsidePeriods ( ITimePeriod test ) : ITimePeriodCollection
test ITimePeriod
리턴 ITimePeriodCollection

IntersectionPeriods() 공개 메소드

public IntersectionPeriods ( System.DateTime test ) : ITimePeriodCollection
test System.DateTime
리턴 ITimePeriodCollection

IntersectionPeriods() 공개 메소드

public IntersectionPeriods ( ITimePeriod test ) : ITimePeriodCollection
test ITimePeriod
리턴 ITimePeriodCollection

IntersectsWith() 공개 메소드

public IntersectsWith ( ITimePeriod test ) : bool
test ITimePeriod
리턴 bool

IsEqual() 보호된 메소드

protected IsEqual ( object obj ) : bool
obj object
리턴 bool

IsSamePeriod() 공개 메소드

public IsSamePeriod ( ITimePeriod test ) : bool
test ITimePeriod
리턴 bool

Move() 공개 메소드

public Move ( System.TimeSpan delta ) : void
delta System.TimeSpan
리턴 void

OverlapPeriods() 공개 메소드

public OverlapPeriods ( ITimePeriod test ) : ITimePeriodCollection
test ITimePeriod
리턴 ITimePeriodCollection

OverlapsWith() 공개 메소드

public OverlapsWith ( ITimePeriod test ) : bool
test ITimePeriod
리턴 bool

RelationPeriods() 공개 메소드

public RelationPeriods ( ITimePeriod test, PeriodRelation relation ) : ITimePeriodCollection
test ITimePeriod
relation PeriodRelation
리턴 ITimePeriodCollection

Remove() 공개 메소드

public Remove ( ITimePeriod item ) : bool
item ITimePeriod
리턴 bool

RemoveAt() 공개 메소드

public RemoveAt ( int index ) : void
index int
리턴 void

Setup() 공개 메소드

public Setup ( System.DateTime newStart, System.DateTime newEnd ) : void
newStart System.DateTime
newEnd System.DateTime
리턴 void

SortByDuration() 공개 메소드

public SortByDuration ( ListSortDirection sortDirection = ListSortDirection.Ascending ) : void
sortDirection ListSortDirection
리턴 void

SortByEnd() 공개 메소드

public SortByEnd ( ListSortDirection sortDirection = ListSortDirection.Ascending ) : void
sortDirection ListSortDirection
리턴 void

SortByStart() 공개 메소드

public SortByStart ( ListSortDirection sortDirection = ListSortDirection.Ascending ) : void
sortDirection ListSortDirection
리턴 void

TimePeriodCollection() 공개 메소드

public TimePeriodCollection ( ) : System
리턴 System

TimePeriodCollection() 공개 메소드

public TimePeriodCollection ( IEnumerable timePeriods ) : System
timePeriods IEnumerable
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

this() 공개 메소드

public this ( int index ) : ITimePeriod
index int
리턴 ITimePeriod