C# Class Itenso.TimePeriodDemo.Player.PlayTimeRange

Inheritance: Itenso.TimePeriod.TimeRange, IPlayTimeRange
Exibir arquivo Open project: jwg4/date-difference Class Usage Examples

Public Methods

Method Description
IsSamePeriod ( ITimePeriod test ) : bool
PlayTimeRange ( ) : System
PlayTimeRange ( System.DateTime start, System.DateTime end, PlayDirection direction = PlayDirection.Forward ) : System
PlayTimeRange ( IPlayTimeRange copy ) : System
RevertDirection ( ) : void
Setup ( System.DateTime newStart, System.DateTime newEnd ) : void

Protected Methods

Method Description
ComputeHashCode ( ) : int
Format ( ITimeFormatter formatter ) : string
IsEqual ( object obj ) : bool

Private Methods

Method Description
HasSameData ( PlayTimeRange comp ) : bool

Method Details

ComputeHashCode() protected method

protected ComputeHashCode ( ) : int
return int

Format() protected method

protected Format ( ITimeFormatter formatter ) : string
formatter ITimeFormatter
return string

IsEqual() protected method

protected IsEqual ( object obj ) : bool
obj object
return bool

IsSamePeriod() public method

public IsSamePeriod ( ITimePeriod test ) : bool
test ITimePeriod
return bool

PlayTimeRange() public method

public PlayTimeRange ( ) : System
return System

PlayTimeRange() public method

public PlayTimeRange ( System.DateTime start, System.DateTime end, PlayDirection direction = PlayDirection.Forward ) : System
start System.DateTime
end System.DateTime
direction PlayDirection
return System

PlayTimeRange() public method

public PlayTimeRange ( IPlayTimeRange copy ) : System
copy IPlayTimeRange
return System

RevertDirection() public method

public RevertDirection ( ) : void
return void

Setup() public method

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