system\globalization\datetimeparse.cs (13)
1486result.Year = result.calendar.GetYear(GetDateTimeNow(ref result, ref styles));
2005if (!TryAdjustYear(ref result, raw.GetNumber(0), out result.Year))
2024if (TryAdjustYear(ref result, raw.year, out result.Year) && SetDateYMD(ref result, result.Year, raw.GetNumber(0), raw.GetNumber(1))) {
2065result.Year = raw.year = dtok.num;
2143if (!dtfi.YearMonthAdjustment(ref result.Year, ref raw.month, true)) {
3410result.Year = result.Month = result.Day = 1;
3413result.Year = cal.GetYear(now);
3424result.Year = cal.GetYear(now);
3556if (!CheckNewValue(ref result.Year, tempYear, ch, ref result)) {
4090result.Year = parseInfo.calendar.ToFourDigitYear(result.Year);
4141if (!dtfi.YearMonthAdjustment(ref result.Year, ref result.Month, ((result.flags & ParseFlags.ParsedMonthName) != 0))) {
5016Year = -1;
5025Year = year;