System.Globalization.JulianCalendar.ToFourDigitYear C# (CSharp) Method

ToFourDigitYear() public method

public ToFourDigitYear ( int year ) : int
year int
return int
        public override int ToFourDigitYear(int year) {
            if (year > MaxYear) {
                throw new ArgumentOutOfRangeException(
                            "year",
                            String.Format(
                                CultureInfo.CurrentCulture,
                                Environment.GetResourceString("ArgumentOutOfRange_Bounds_Lower_Upper"),
                                1,
                                MaxYear));
            }
            return (base.ToFourDigitYear(year));
        }
    }