DateTimeApproximationComparer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The DateTimeApproximationComparer is responsible for comparing two DateTime objects at a level of precision determined by the first object. The comparison either compares at the date level or the date and time (down to Seconds precision).
public ref class DateTimeApproximationComparer : System::Collections::Generic::IComparer<DateTime>
public class DateTimeApproximationComparer : System.Collections.Generic.IComparer<DateTime>
type DateTimeApproximationComparer = class
interface IComparer<DateTime>
Public Class DateTimeApproximationComparer
Implements IComparer(Of DateTime)
- Inheritance
-
DateTimeApproximationComparer
- Implements
Constructors
DateTimeApproximationComparer() |
Methods
Compare(DateTime, DateTime) |
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. |