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