public void CheckDateTime(System.DateTime time) { int date = CCFixed.FromDateTime(time); if (!ValidDate(date)) throw new System.ArgumentOutOfRangeException("time", "Time value was out of era range."); }
/// <summary> /// A protected member checking a /// <see cref="T:System.DateTime"/> value. /// </summary> /// <param name="time">The /// <see cref="T:System.DateTime"/> /// to check. /// </param> /// <exception cref="T:System.ArgumentOutOfRangeException"> /// The exception is thrown if the /// <see cref="T:System.DateTime"/> parameter is outside all /// supported eras. /// </exception> internal void M_CheckDateTime(DateTime time) { M_EraHandler.CheckDateTime(time); }