C# 클래스 Signum.Utilities.TimeSpanExtensions

파일 보기 프로젝트 열기: signumsoftware/framework

공개 메소드들

메소드 설명
GetPrecision ( this timeSpan ) : DateTimePrecision?
NiceToString ( this timeSpan ) : string
NiceToString ( this timeSpan, DateTimePrecision precission ) : string
ToShortString ( this ts ) : string
TrimTo ( this time, DateTimePrecision precision ) : System.TimeSpan
TrimToDays ( this time ) : System.TimeSpan
TrimToHours ( this time ) : System.TimeSpan
TrimToMinutes ( this time ) : System.TimeSpan
TrimToSeconds ( this time ) : System.TimeSpan

메소드 상세

GetPrecision() 공개 정적인 메소드

public static GetPrecision ( this timeSpan ) : DateTimePrecision?
timeSpan this
리턴 DateTimePrecision?

NiceToString() 공개 정적인 메소드

public static NiceToString ( this timeSpan ) : string
timeSpan this
리턴 string

NiceToString() 공개 정적인 메소드

public static NiceToString ( this timeSpan, DateTimePrecision precission ) : string
timeSpan this
precission DateTimePrecision
리턴 string

ToShortString() 공개 정적인 메소드

public static ToShortString ( this ts ) : string
ts this
리턴 string

TrimTo() 공개 정적인 메소드

public static TrimTo ( this time, DateTimePrecision precision ) : System.TimeSpan
time this
precision DateTimePrecision
리턴 System.TimeSpan

TrimToDays() 공개 정적인 메소드

public static TrimToDays ( this time ) : System.TimeSpan
time this
리턴 System.TimeSpan

TrimToHours() 공개 정적인 메소드

public static TrimToHours ( this time ) : System.TimeSpan
time this
리턴 System.TimeSpan

TrimToMinutes() 공개 정적인 메소드

public static TrimToMinutes ( this time ) : System.TimeSpan
time this
리턴 System.TimeSpan

TrimToSeconds() 공개 정적인 메소드

public static TrimToSeconds ( this time ) : System.TimeSpan
time this
리턴 System.TimeSpan