Method | Description | |
---|---|---|
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 | |
return | System.DateTime |
public static Floor ( this date, System.TimeSpan span ) : System.DateTime | ||
date | this | |
span | System.TimeSpan | |
return | System.DateTime |
public static IsEqualTo ( this d1, System.DateTime d2, int accuracyInMilliseconds ) : bool | ||
d1 | this | |
d2 | System.DateTime | |
accuracyInMilliseconds | int | |
return | bool |
public static IsGreaterThan ( this d1, System.DateTime d2, int accuracyInMilliseconds ) : bool | ||
d1 | this | |
d2 | System.DateTime | |
accuracyInMilliseconds | int | |
return | bool |
public static IsLessThan ( this d1, System.DateTime d2, int accuracyInMilliseconds ) : bool | ||
d1 | this | |
d2 | System.DateTime | |
accuracyInMilliseconds | int | |
return | bool |
public static Round ( this date, System.TimeSpan span ) : System.DateTime | ||
date | this | |
span | System.TimeSpan | |
return | System.DateTime |
public static ToNearestSecond ( this d1 ) : System.DateTime | ||
d1 | this | |
return | System.DateTime |
public static TruncateToSecond ( this original ) : System.DateTime | ||
original | this | |
return | System.DateTime |