5 writes to calendar
mscorlib (5)
system\globalization\datetimeparse.cs (5)
1024
result.
calendar
= JapaneseCalendar.GetDefaultInstance();
1037
result.
calendar
= TaiwanCalendar.GetDefaultInstance();
2368
result.
calendar
= dtfi.Calendar;
2517
if (!CheckDefaultDateTime(ref result, ref result.
calendar
, styles)) {
4036
result.
calendar
= parseInfo.calendar;
13 references to calendar
mscorlib (13)
system\globalization\datetimeparse.cs (13)
1447
year = result.
calendar
.ToFourDigitYear(year);
1462
if (result.
calendar
.IsValidDay(year, month, day, result.era))
1486
result.Year = result.
calendar
.GetYear(GetDateTimeNow(ref result, ref styles));
1644
if (result.
calendar
.IsValidDay(result.Year, result.Month, raw.GetNumber(0), result.era))
1723
if (TryAdjustYear(ref result, n2, out year) && result.
calendar
.IsValidDay(year, raw.month, n1, result.era))
1729
else if (TryAdjustYear(ref result, n1, out year) && result.
calendar
.IsValidDay(year, raw.month, n2, result.era))
1738
if (TryAdjustYear(ref result, n1, out year) && result.
calendar
.IsValidDay(year, raw.month, n2, result.era))
1744
else if (TryAdjustYear(ref result, n2, out year) && result.
calendar
.IsValidDay(year, raw.month, n1, result.era))
1753
if (TryAdjustYear(ref result, n2, out year) && result.
calendar
.IsValidDay(year, raw.month, n1, result.era))
1759
else if (TryAdjustYear(ref result, n1, out year) && result.
calendar
.IsValidDay(year, raw.month, n2, result.era))
2522
if (!result.
calendar
.TryToDateTime(result.Year, result.Month, result.Day,
2540
if (raw.dayOfWeek != (int)result.
calendar
.GetDayOfWeek(time)) {
4186
return new FormatException(Environment.GetResourceString(result.failureMessageID, result.
calendar
));