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