Метод | Описание | |
---|---|---|
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 |
public static GetPrecision ( this timeSpan ) : DateTimePrecision? | ||
timeSpan | this | |
Результат | DateTimePrecision? |
public static NiceToString ( this timeSpan ) : string | ||
timeSpan | this | |
Результат | string |
public static NiceToString ( this timeSpan, DateTimePrecision precission ) : string | ||
timeSpan | this | |
precission | DateTimePrecision | |
Результат | string |
public static ToShortString ( this ts ) : string | ||
ts | this | |
Результат | string |
public static TrimTo ( this time, DateTimePrecision precision ) : System.TimeSpan | ||
time | this | |
precision | DateTimePrecision | |
Результат | System.TimeSpan |
public static TrimToDays ( this time ) : System.TimeSpan | ||
time | this | |
Результат | System.TimeSpan |
public static TrimToHours ( this time ) : System.TimeSpan | ||
time | this | |
Результат | System.TimeSpan |
public static TrimToMinutes ( this time ) : System.TimeSpan | ||
time | this | |
Результат | System.TimeSpan |
public static TrimToSeconds ( this time ) : System.TimeSpan | ||
time | this | |
Результат | System.TimeSpan |