/// <summary>
/// Compares two <see cref="Date"/> instances to determine if the
/// first is equal to or smaller than the second.
/// </summary>
/// <param name="lhs">The first date.</param>
/// <param name="rhs">The second date.</param>
/// <returns><c>true</c> if the first value is less than the second.</returns>
public static bool LessOrEqual(Date lhs, Date rhs)
{
return (lhs.CompareTo (rhs) <= 0);
}