Compares two YetaWF.Core.Components.TimeOfDay instances and returns a value indicating whether one is less than, equal to, or greater than the other.
Class: YetaWF.Core.Components.TimeOfDayNullLastComparer
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core
public int Compare( TimeOfDay? x, TimeOfDay? y );
x
The first YetaWF.Core.Components.TimeOfDay instance to compare. May be null.
y
The second YetaWF.Core.Components.TimeOfDay instance to compare. May be null.
Returns less than 0 if x is smaller than y, 0 if they are equal, greater than 0 if x is greater than y.
TimeOfDay values are compared so earlier times are considered smaller. A null YetaWF.Core.Components.TimeOfDay instance is considered greater (later) than a non-null value.
See Also YetaWF.Core.Components.TimeOfDayNullLastComparer ClassYetaWF.Core Overview
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com