Метод | Описание | |
---|---|---|
Ceil ( this date, System.TimeSpan span ) : System.DateTime | ||
Floor ( this date, System.TimeSpan span ) : System.DateTime | ||
IsEqualTo ( this d1, System.DateTime d2, int accuracyInMilliseconds ) : bool | ||
IsGreaterThan ( this d1, System.DateTime d2, int accuracyInMilliseconds ) : bool | ||
IsLessThan ( this d1, System.DateTime d2, int accuracyInMilliseconds ) : bool | ||
Round ( this date, System.TimeSpan span ) : System.DateTime | ||
ToNearestSecond ( this d1 ) : System.DateTime | ||
TruncateToSecond ( this original ) : System.DateTime |
public static Ceil ( this date, System.TimeSpan span ) : System.DateTime | ||
date | this | |
span | System.TimeSpan | |
Результат | System.DateTime |
public static Floor ( this date, System.TimeSpan span ) : System.DateTime | ||
date | this | |
span | System.TimeSpan | |
Результат | System.DateTime |
public static IsEqualTo ( this d1, System.DateTime d2, int accuracyInMilliseconds ) : bool | ||
d1 | this | |
d2 | System.DateTime | |
accuracyInMilliseconds | int | |
Результат | bool |
public static IsGreaterThan ( this d1, System.DateTime d2, int accuracyInMilliseconds ) : bool | ||
d1 | this | |
d2 | System.DateTime | |
accuracyInMilliseconds | int | |
Результат | bool |
public static IsLessThan ( this d1, System.DateTime d2, int accuracyInMilliseconds ) : bool | ||
d1 | this | |
d2 | System.DateTime | |
accuracyInMilliseconds | int | |
Результат | bool |
public static Round ( this date, System.TimeSpan span ) : System.DateTime | ||
date | this | |
span | System.TimeSpan | |
Результат | System.DateTime |
public static ToNearestSecond ( this d1 ) : System.DateTime | ||
d1 | this | |
Результат | System.DateTime |
public static TruncateToSecond ( this original ) : System.DateTime | ||
original | this | |
Результат | System.DateTime |