/// <summary> /// Returns whether or not the given year is a leap year in this calendar. /// </summary> /// <param name="year">The year to consider.</param> /// <exception cref="ArgumentOutOfRangeException">The given year is invalid for this calendar. /// Note that some implementations may return a value rather than throw this exception. Failure to throw an /// exception should not be treated as an indication that the year is valid.</exception> /// <returns>True if the given year is a leap year; false otherwise.</returns> public bool IsLeapYear(int year) { return(yearMonthDayCalculator.IsLeapYear(year)); }