Specifies granularity for time comparisons.
Namespace:
Rebex
Assembly:
Rebex.Common (in Rebex.Common.dll)
Syntax
| Visual Basic |
|---|
Public Enumeration TimeComparisonGranularity |
| C# |
|---|
public enum TimeComparisonGranularity |
Members
| Member name | Description | |
|---|---|---|
| None |
Time is taken as is.
| |
| Seconds |
The smallest time unit is one second (milliseconds are ignored).
E.g. 11:33:55.999 is rounded to 11:33:55.000.
| |
| TwoSeconds |
The smallest time unit is two-second. So odd seconds are rounded to lower even value (milliseconds are ignored).
E.g. 11:33:55.999 is rounded to 11:33:54.000.
| |
| Days |
The smallest time unit is one day (time component is ignored).
E.g. 2012-12-12 11:33:55.999 is rounded to 2012-12-12 00:00:00.000.
|