14 overrides of MaxSupportedDateTime
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Globalization\ChineseLunisolarCalendar.cs (1)
26public override DateTime MaxSupportedDateTime => s_maxDate;
src\libraries\System.Private.CoreLib\src\System\Globalization\GregorianCalendar.cs (1)
33public override DateTime MaxSupportedDateTime => DateTime.MaxValue;
src\libraries\System.Private.CoreLib\src\System\Globalization\HebrewCalendar.cs (1)
281public override DateTime MaxSupportedDateTime => s_calendarMaxValue;
src\libraries\System.Private.CoreLib\src\System\Globalization\HijriCalendar.cs (1)
66public override DateTime MaxSupportedDateTime => s_calendarMaxValue;
src\libraries\System.Private.CoreLib\src\System\Globalization\JapaneseCalendar.cs (1)
39public override DateTime MaxSupportedDateTime => DateTime.MaxValue;
src\libraries\System.Private.CoreLib\src\System\Globalization\JapaneseLunisolarCalendar.cs (1)
27public override DateTime MaxSupportedDateTime => s_maxDate;
src\libraries\System.Private.CoreLib\src\System\Globalization\JulianCalendar.cs (1)
40public override DateTime MaxSupportedDateTime => DateTime.MaxValue;
src\libraries\System.Private.CoreLib\src\System\Globalization\KoreanCalendar.cs (1)
39public override DateTime MaxSupportedDateTime => DateTime.MaxValue;
src\libraries\System.Private.CoreLib\src\System\Globalization\KoreanLunisolarCalendar.cs (1)
25public override DateTime MaxSupportedDateTime => s_maxDate;
src\libraries\System.Private.CoreLib\src\System\Globalization\PersianCalendar.cs (1)
46public override DateTime MaxSupportedDateTime => s_maxDate;
src\libraries\System.Private.CoreLib\src\System\Globalization\TaiwanCalendar.cs (1)
40public override DateTime MaxSupportedDateTime => DateTime.MaxValue;
src\libraries\System.Private.CoreLib\src\System\Globalization\TaiwanLunisolarCalendar.cs (1)
35public override DateTime MaxSupportedDateTime => s_maxDate;
src\libraries\System.Private.CoreLib\src\System\Globalization\ThaiBuddhistCalendar.cs (1)
30public override DateTime MaxSupportedDateTime => DateTime.MaxValue;
src\libraries\System.Private.CoreLib\src\System\Globalization\UmAlQuraCalendar.cs (1)
248public override DateTime MaxSupportedDateTime => s_maxDate;
13 references to MaxSupportedDateTime
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Globalization\Calendar.cs (2)
135CheckAddResult(ticks, MinSupportedDateTime, MaxSupportedDateTime); 612return year >= GetYear(MinSupportedDateTime) && year <= GetYear(MaxSupportedDateTime);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (1)
1803if (year < Calendar.GetYear(Calendar.MinSupportedDateTime) || year > Calendar.GetYear(Calendar.MaxSupportedDateTime))
src\libraries\System.Private.CoreLib\src\System\Globalization\EastAsianLunisolarCalendar.cs (4)
143if (ticks < MinSupportedDateTime.Ticks || ticks > MaxSupportedDateTime.Ticks) 149MinSupportedDateTime, MaxSupportedDateTime)); 469CheckAddResult(dt.Ticks, MinSupportedDateTime, MaxSupportedDateTime); 492CheckAddResult(dt.Ticks, MinSupportedDateTime, MaxSupportedDateTime);
src\libraries\System.Private.CoreLib\src\System\Globalization\GregorianCalendarHelper.cs (3)
72_maxSupportedTicks = cal.MaxSupportedDateTime.Ticks; 185m_Cal.MaxSupportedDateTime)); 239Calendar.CheckAddResult(ticks, m_Cal.MinSupportedDateTime, m_Cal.MaxSupportedDateTime);
System.Security.Cryptography (1)
System\Security\Cryptography\Helpers.cs (1)
264return (year >= calendar.GetYear(calendar.MinSupportedDateTime) && year <= calendar.GetYear(calendar.MaxSupportedDateTime));
System.Windows.Forms (1)
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
627DateTime maxSupportedDateTime = CultureInfo.CurrentCulture.Calendar.MaxSupportedDateTime;
System.Windows.Forms.Tests (1)
System\Windows\Forms\DateTimePickerTests.cs (1)
393DateTime maxSupportedDateTime = CultureInfo.CurrentCulture.Calendar.MaxSupportedDateTime;