public static void AddYears_NewDateOutOfRange_ThrowsArgumentOutOfRangeException()
{
Assert.Throws<ArgumentOutOfRangeException>("years", () => DateTime.Now.AddYears(10001));
Assert.Throws<ArgumentOutOfRangeException>("years", () => DateTime.Now.AddYears(-10001));
Assert.Throws<ArgumentOutOfRangeException>("months", () => DateTime.MaxValue.AddYears(1));
Assert.Throws<ArgumentOutOfRangeException>("months", () => DateTime.MinValue.AddYears(-1));
}