C# 클래스 Hourglass.Timing.TimerStart

Specifies a set of values used to start a timer.
파일 보기 프로젝트 열기: Dziemborowicz/Hourglass 1 사용 예제들

공개 메소드들

메소드 설명
FromString ( string str ) : TimerStart

Returns a TimerStart for a string.

FromTimerStartInfo ( Hourglass.Serialization.TimerStartInfo timerStartInfo ) : TimerStart

Returns a TimerStart for a TimerStartInfo.

GetEndTime ( System.DateTime startTime ) : System.DateTime

Returns the end time for a timer started with this TimerStart at a specified time.

ToString ( ) : string

Returns a string that represents the current object.

ToTimerStartInfo ( ) : Hourglass.Serialization.TimerStartInfo

Returns the representation of the TimerStart used for XML serialization.

TryGetEndTime ( System.DateTime startTime, System.DateTime &endTime ) : bool

Returns the end time for a timer started with this TimerStart at a specified time.

비공개 메소드들

메소드 설명
TimerStart ( Hourglass.Serialization.TimerStartInfo timerStartInfo ) : System

Initializes a new instance of the TimerStart class.

TimerStart ( Hourglass.Parsing.TimerStartToken timerStartToken ) : System

Initializes a new instance of the TimerStart class.

메소드 상세

FromString() 공개 정적인 메소드

Returns a TimerStart for a string.
public static FromString ( string str ) : TimerStart
str string A string.
리턴 TimerStart

FromTimerStartInfo() 공개 정적인 메소드

Returns a TimerStart for a TimerStartInfo.
public static FromTimerStartInfo ( Hourglass.Serialization.TimerStartInfo timerStartInfo ) : TimerStart
timerStartInfo Hourglass.Serialization.TimerStartInfo A .
리턴 TimerStart

GetEndTime() 공개 메소드

Returns the end time for a timer started with this TimerStart at a specified time.
public GetEndTime ( System.DateTime startTime ) : System.DateTime
startTime System.DateTime The time the timer is started.
리턴 System.DateTime

ToString() 공개 메소드

Returns a string that represents the current object.
public ToString ( ) : string
리턴 string

ToTimerStartInfo() 공개 메소드

Returns the representation of the TimerStart used for XML serialization.
public ToTimerStartInfo ( ) : Hourglass.Serialization.TimerStartInfo
리턴 Hourglass.Serialization.TimerStartInfo

TryGetEndTime() 공개 메소드

Returns the end time for a timer started with this TimerStart at a specified time.
public TryGetEndTime ( System.DateTime startTime, System.DateTime &endTime ) : bool
startTime System.DateTime The time the timer is started.
endTime System.DateTime The end time for a timer started with this at the specified /// time if the end time could be computed, or otherwise.
리턴 bool