/// <summary>
/// Overriden. Gets the day of the week from the specified date.
/// </summary>
/// <param name="time">The
/// <see cref="T:System.DateTime"/> that specifies a
/// date.
/// </param>
/// <returns>An integer giving the day of months, starting with 1.
/// </returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// The exception is thrown if the
/// <see cref="T:System.DateTime"/> parameter is not in the years
/// between 1 A.P. and 9999 C.E., inclusive.
/// </exception>
public override DayOfWeek GetDayOfWeek(DateTime time)
{
M_CheckDateTime(time);
int rd = CCFixed.FromDateTime(time);
return((DayOfWeek)CCFixed.day_of_week(rd));
}