Méthode | Description | |
---|---|---|
Ceiling ( this FromTime, long intervalTicks ) : System.TimeSpan |
Returns the smallest For example:
|
|
Floor ( this FromTime, long intervalTicks ) : System.TimeSpan |
Returns the largest For example:
|
|
Round ( this FromTime, long intervalTicks ) : System.TimeSpan |
Returns the For example:
|
|
ToTimeString ( this FromTime, TimeSpanFormatOptions options, |
Turns a TimeSpan into a human-readable text. Uses the specified timeSpanFormatOptions. For example: "31.23:59:00.555" = "31 days 23 hours 59 minutes 0 seconds 555 milliseconds"
|
Méthode | Description | |
---|---|---|
TimeSpanUtility ( ) : System |
public static Ceiling ( this FromTime, long intervalTicks ) : System.TimeSpan | ||
FromTime | this | A |
intervalTicks | long | Specifies the interval for rounding. Use |
Résultat | System.TimeSpan |
public static Floor ( this FromTime, long intervalTicks ) : System.TimeSpan | ||
FromTime | this | A |
intervalTicks | long | Specifies the interval for rounding. Use |
Résultat | System.TimeSpan |
public static Round ( this FromTime, long intervalTicks ) : System.TimeSpan | ||
FromTime | this | A |
intervalTicks | long | Specifies the interval for rounding. Use |
Résultat | System.TimeSpan |
public static ToTimeString ( this FromTime, TimeSpanFormatOptions options, |
||
FromTime | this | |
options | TimeSpanFormatOptions |
/// |
timeTextInfo | An object that supplies the text to use for output | |
Résultat | string |