C# 클래스 SleepHunter.Extensions.TimeSpanExtender

파일 보기 프로젝트 열기: ewrogers/SleepHunter4

공개 메소드들

메소드 설명
ToFractionalEnglish ( this timeSpan, bool useShortNotation = false, string format = null ) : string
ToLongEnglish ( this timeSpan, bool includeMinorComponent = true, string format = null ) : string
ToPluralString ( this value, string pluralString, string singularString, string format = null ) : string
ToShortEnglish ( this timeSpan, bool includeMinorComponent = true, string format = null ) : string
TryParse ( string text, System.TimeSpan &value ) : bool

비공개 메소드들

메소드 설명
ToEnglish ( this timeSpan, bool useShortNotation, bool includeMinorComponent = true, bool isFracitonal = false, string format = null ) : string

메소드 상세

ToFractionalEnglish() 공개 정적인 메소드

public static ToFractionalEnglish ( this timeSpan, bool useShortNotation = false, string format = null ) : string
timeSpan this
useShortNotation bool
format string
리턴 string

ToLongEnglish() 공개 정적인 메소드

public static ToLongEnglish ( this timeSpan, bool includeMinorComponent = true, string format = null ) : string
timeSpan this
includeMinorComponent bool
format string
리턴 string

ToPluralString() 공개 정적인 메소드

public static ToPluralString ( this value, string pluralString, string singularString, string format = null ) : string
value this
pluralString string
singularString string
format string
리턴 string

ToShortEnglish() 공개 정적인 메소드

public static ToShortEnglish ( this timeSpan, bool includeMinorComponent = true, string format = null ) : string
timeSpan this
includeMinorComponent bool
format string
리턴 string

TryParse() 공개 정적인 메소드

public static TryParse ( string text, System.TimeSpan &value ) : bool
text string
value System.TimeSpan
리턴 bool