System.Globalization.GregorianCalendarHelper.CheckTicksRange C# (CSharp) Method

CheckTicksRange() private method

private CheckTicksRange ( long ticks ) : void
ticks long
return void
        internal void CheckTicksRange(long ticks) {
            if (ticks < m_Cal.MinSupportedDateTime.Ticks || ticks > m_Cal.MaxSupportedDateTime.Ticks) {
                throw new ArgumentOutOfRangeException(
                            "time", 
                            String.Format(
                                CultureInfo.InvariantCulture, 
                                Environment.GetResourceString("ArgumentOutOfRange_CalendarRange"), 
                                m_Cal.MinSupportedDateTime,
                                m_Cal.MaxSupportedDateTime));
            }
        }