7 writes to era
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (7)
1054result.era = tokenValue; 1076result.era = tokenValue; 1097result.era = tokenValue; 2530result.era = Calendar.CurrentEra; 4034if (result.era == -1) result.era = Calendar.CurrentEra; 4257if (!MatchEraName(ref str, dtfi, ref result.era)) 6259era = -1;
15 references to era
System.Private.CoreLib (15)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (15)
1052if (result.era != -1) 1074if (result.era != -1) 1095if (result.era != -1) 1534if (result.calendar.IsValidDay(year, month, day, result.era)) 1731if (result.calendar.IsValidDay(result.Year, result.Month, raw.GetNumber(0), result.era)) 1815if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1821else if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 1830if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 1836else if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1845if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1851else if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 2714result.Hour, result.Minute, result.Second, 0, result.era, out DateTime time)) 3105hour, minute, second, 0, result.era, out DateTime time)) 4034if (result.era == -1) result.era = Calendar.CurrentEra; 4863result.Hour, result.Minute, result.Second, 0, result.era, out result.parsedDate))