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 nameDescription
Supported by the .NET Compact FrameworkNone
Time is taken as is.
Supported by the .NET Compact FrameworkSeconds
The smallest time unit is one second (milliseconds are ignored). E.g. 11:33:55.999 is rounded to 11:33:55.000.
Supported by the .NET Compact FrameworkTwoSeconds
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.
Supported by the .NET Compact FrameworkDays
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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also