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