25 references to MaxYear
mscorlib (25)
system\globalization\gregoriancalendar.cs (19)
249
if (year >= 1 && year <=
MaxYear
&& month >= 1 && month <= 12)
375
if (year < 1 || year >
MaxYear
) {
377
1,
MaxYear
));
394
if (year >= 1 && year <=
MaxYear
) {
403
MaxYear
));
437
if (year >= 1 && year <=
MaxYear
)
447
MaxYear
));
477
if (year < 1 || year >
MaxYear
) {
480
Environment.GetResourceString("ArgumentOutOfRange_Range", 1,
MaxYear
));
507
if (year < 1 || year >
MaxYear
) {
512
Environment.GetResourceString("ArgumentOutOfRange_Range"), 1,
MaxYear
));
528
if (year < 1 || year >
MaxYear
) {
533
Environment.GetResourceString("ArgumentOutOfRange_Range"), 1,
MaxYear
));
551
if (year >= 1 && year <=
MaxYear
) {
559
Environment.GetResourceString("ArgumentOutOfRange_Range"), 1,
MaxYear
));
597
if (value < 99 || value >
MaxYear
) {
604
MaxYear
));
619
if (year >
MaxYear
) {
624
Environment.GetResourceString("ArgumentOutOfRange_Range"), 1,
MaxYear
));
system\globalization\japanesecalendar.cs (2)
125
defaultEraRanges[0] = new EraInfo( 4, 1989, 1, 8, 1988, 1, GregorianCalendar.
MaxYear
- 1988,
241
registryEraRanges[0].maxEraYear = GregorianCalendar.
MaxYear
- registryEraRanges[0].yearOffset;
system\globalization\koreancalendar.cs (1)
47
new EraInfo( 1, 1, 1, 1, -2333, 2334, GregorianCalendar.
MaxYear
+ 2333) // era #, start year/month/day, yearOffset, minEraYear
system\globalization\taiwancalendar.cs (1)
41
new EraInfo( 1, 1912, 1, 1, 1911, 1, GregorianCalendar.
MaxYear
- 1911) // era #, start year/month/day, yearOffset, minEraYear
system\globalization\taiwanlunisolarcalendar.cs (1)
35
new EraInfo( 1, 1912, 1, 1, 1911, 1, GregorianCalendar.
MaxYear
- 1911) // era #, start year/month/day, yearOffset, minEraYear
system\globalization\thaibuddhistcalendar.cs (1)
30
new EraInfo( 1, 1, 1, 1, -543, 544, GregorianCalendar.
MaxYear
+ 543) // era #, start year/month/day, yearOffset, minEraYear