7 writes to era
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (7)
1047result.era = tokenValue; 1069result.era = tokenValue; 1090result.era = tokenValue; 2523result.era = Calendar.CurrentEra; 3942if (result.era == -1) result.era = Calendar.CurrentEra; 4165if (!MatchEraName(ref str, dtfi, ref result.era)) 6119era = -1;
15 references to era
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (15)
1045if (result.era != -1) 1067if (result.era != -1) 1088if (result.era != -1) 1527if (result.calendar.IsValidDay(year, month, day, result.era)) 1724if (result.calendar.IsValidDay(result.Year, result.Month, raw.GetNumber(0), result.era)) 1808if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1814else if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 1823if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 1829else if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1838if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1844else if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 2690result.Hour, result.Minute, result.Second, 0, result.era, out DateTime time)) 3054hour, minute, second, 0, result.era, out DateTime time)) 3942if (result.era == -1) result.era = Calendar.CurrentEra; 4754result.Hour, result.Minute, result.Second, 0, result.era, out result.parsedDate))