7 writes to era
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (7)
1041result.era = tokenValue; 1063result.era = tokenValue; 1084result.era = tokenValue; 2521result.era = Calendar.CurrentEra; 3940if (result.era == -1) result.era = Calendar.CurrentEra; 4163if (!MatchEraName(ref str, dtfi, ref result.era)) 6121era = -1;
15 references to era
System.Private.CoreLib (15)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (15)
1039if (result.era != -1) 1061if (result.era != -1) 1082if (result.era != -1) 1521if (result.calendar.IsValidDay(year, month, day, result.era)) 1718if (result.calendar.IsValidDay(result.Year, result.Month, raw.GetNumber(0), result.era)) 1802if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1808else if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 1817if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 1823else if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1832if (TryAdjustYear(ref result, n2, out year) && result.calendar.IsValidDay(year, raw.month, n1, result.era)) 1838else if (TryAdjustYear(ref result, n1, out year) && result.calendar.IsValidDay(year, raw.month, n2, result.era)) 2688result.Hour, result.Minute, result.Second, 0, result.era, out DateTime time)) 3052hour, minute, second, 0, result.era, out DateTime time)) 3940if (result.era == -1) result.era = Calendar.CurrentEra; 4754result.Hour, result.Minute, result.Second, 0, result.era, out result.parsedDate))