C# 클래스 Microsoft.Silverlight.Testing.Client.TimeHelper

A set of simple time helper methods.
파일 보기 프로젝트 열기: garyjohnson/wpnest

공개 메소드들

메소드 설명
ElapsedReadableTime ( System.DateTime start, System.DateTime finish ) : string

Returns a human-readable formatting of the time different between two DateTime instances.

ElapsedReadableTime ( System.TimeSpan ts ) : string

Returns a human-readable formatting of the time different between two DateTime instances.

비공개 메소드들

메소드 설명
Plural ( this value, int number ) : string

A plural 's' as the suffix, when not equal to one.

메소드 상세

ElapsedReadableTime() 공개 정적인 메소드

Returns a human-readable formatting of the time different between two DateTime instances.
public static ElapsedReadableTime ( System.DateTime start, System.DateTime finish ) : string
start System.DateTime The starting time.
finish System.DateTime The finishing time.
리턴 string

ElapsedReadableTime() 공개 정적인 메소드

Returns a human-readable formatting of the time different between two DateTime instances.
public static ElapsedReadableTime ( System.TimeSpan ts ) : string
ts System.TimeSpan The time span instance.
리턴 string