C# 클래스 Itenso.TimePeriod.TimeInterval

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

공개 프로퍼티들

프로퍼티 타입 설명
Anytime TimeInterval

공개 메소드들

메소드 설명
Copy ( ) : ITimeInterval
Copy ( System.TimeSpan offset ) : ITimeInterval
Equals ( object obj ) : bool
ExpandEndTo ( System.DateTime moment ) : void
ExpandStartTo ( System.DateTime moment ) : void
ExpandTo ( System.DateTime moment ) : void
ExpandTo ( ITimePeriod period ) : void
GetDescription ( ITimeFormatter formatter = null ) : string
GetHashCode ( ) : int
GetIntersection ( ITimePeriod period ) : ITimeInterval
GetRelation ( ITimePeriod test ) : PeriodRelation
HasInside ( System.DateTime test ) : bool
HasInside ( ITimePeriod test ) : bool
IntersectsWith ( ITimePeriod test ) : bool
IsSamePeriod ( ITimePeriod test ) : bool
Move ( System.TimeSpan offset ) : void
OverlapsWith ( ITimePeriod test ) : bool
Reset ( ) : void
Setup ( System.DateTime newStartInterval, System.DateTime newEndInterval ) : void
ShrinkEndTo ( System.DateTime moment ) : void
ShrinkStartTo ( System.DateTime moment ) : void
ShrinkTo ( ITimePeriod period ) : void
TimeInterval ( ) : System
TimeInterval ( System.DateTime startInterval, System.DateTime endInterval, IntervalEdge startEdge = IntervalEdge.Closed, IntervalEdge endEdge = IntervalEdge.Closed, bool isIntervalEnabled = true, bool isReadOnly = false ) : System
TimeInterval ( System.DateTime moment, IntervalEdge startEdge = IntervalEdge.Closed, IntervalEdge endEdge = IntervalEdge.Closed, bool isIntervalEnabled = true, bool isReadOnly = false ) : System
TimeInterval ( ITimePeriod copy ) : System
ToString ( ) : string

보호된 메소드들

메소드 설명
CheckModification ( ) : void
ComputeHashCode ( ) : int
Format ( ITimeFormatter formatter ) : string
IsEqual ( object obj ) : bool
TimeInterval ( ITimePeriod copy, bool isReadOnly ) : System

비공개 메소드들

메소드 설명
HasSameData ( TimeInterval comp ) : bool

메소드 상세

CheckModification() 보호된 메소드

protected CheckModification ( ) : void
리턴 void

ComputeHashCode() 보호된 메소드

protected ComputeHashCode ( ) : int
리턴 int

Copy() 공개 메소드

public Copy ( ) : ITimeInterval
리턴 ITimeInterval

Copy() 공개 메소드

public Copy ( System.TimeSpan offset ) : ITimeInterval
offset System.TimeSpan
리턴 ITimeInterval

Equals() 공개 최종 메소드

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

ExpandEndTo() 공개 메소드

public ExpandEndTo ( System.DateTime moment ) : void
moment System.DateTime
리턴 void

ExpandStartTo() 공개 메소드

public ExpandStartTo ( System.DateTime moment ) : void
moment System.DateTime
리턴 void

ExpandTo() 공개 메소드

public ExpandTo ( System.DateTime moment ) : void
moment System.DateTime
리턴 void

ExpandTo() 공개 메소드

public ExpandTo ( ITimePeriod period ) : void
period ITimePeriod
리턴 void

Format() 보호된 메소드

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

GetDescription() 공개 메소드

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

GetHashCode() 공개 최종 메소드

public final GetHashCode ( ) : int
리턴 int

GetIntersection() 공개 메소드

public GetIntersection ( ITimePeriod period ) : ITimeInterval
period ITimePeriod
리턴 ITimeInterval

GetRelation() 공개 메소드

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

HasInside() 공개 메소드

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

HasInside() 공개 메소드

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

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 offset ) : void
offset System.TimeSpan
리턴 void

OverlapsWith() 공개 메소드

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

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Setup() 공개 메소드

public Setup ( System.DateTime newStartInterval, System.DateTime newEndInterval ) : void
newStartInterval System.DateTime
newEndInterval System.DateTime
리턴 void

ShrinkEndTo() 공개 메소드

public ShrinkEndTo ( System.DateTime moment ) : void
moment System.DateTime
리턴 void

ShrinkStartTo() 공개 메소드

public ShrinkStartTo ( System.DateTime moment ) : void
moment System.DateTime
리턴 void

ShrinkTo() 공개 메소드

public ShrinkTo ( ITimePeriod period ) : void
period ITimePeriod
리턴 void

TimeInterval() 공개 메소드

public TimeInterval ( ) : System
리턴 System

TimeInterval() 공개 메소드

public TimeInterval ( System.DateTime startInterval, System.DateTime endInterval, IntervalEdge startEdge = IntervalEdge.Closed, IntervalEdge endEdge = IntervalEdge.Closed, bool isIntervalEnabled = true, bool isReadOnly = false ) : System
startInterval System.DateTime
endInterval System.DateTime
startEdge IntervalEdge
endEdge IntervalEdge
isIntervalEnabled bool
isReadOnly bool
리턴 System

TimeInterval() 공개 메소드

public TimeInterval ( System.DateTime moment, IntervalEdge startEdge = IntervalEdge.Closed, IntervalEdge endEdge = IntervalEdge.Closed, bool isIntervalEnabled = true, bool isReadOnly = false ) : System
moment System.DateTime
startEdge IntervalEdge
endEdge IntervalEdge
isIntervalEnabled bool
isReadOnly bool
리턴 System

TimeInterval() 공개 메소드

public TimeInterval ( ITimePeriod copy ) : System
copy ITimePeriod
리턴 System

TimeInterval() 보호된 메소드

protected TimeInterval ( ITimePeriod copy, bool isReadOnly ) : System
copy ITimePeriod
isReadOnly bool
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

Anytime 공개적으로 정적으로 프로퍼티

public static TimeInterval,Itenso.TimePeriod Anytime
리턴 TimeInterval