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