1 write to m_EraInfo
mscorlib (1)
system\globalization\gregoriancalendarhelper.cs (1)
137
m_EraInfo
= eraInfo;
25 references to m_EraInfo
mscorlib (25)
system\globalization\gregoriancalendarhelper.cs (25)
141
m_maxYear =
m_EraInfo
[0].maxEraYear;
142
m_minYear =
m_EraInfo
[0].minEraYear;;
168
for (int i = 0; i <
m_EraInfo
.Length; i++)
170
if (era ==
m_EraInfo
[i].era)
172
if (year >=
m_EraInfo
[i].minEraYear)
174
if (year <=
m_EraInfo
[i].maxEraYear)
176
return
m_EraInfo
[i].yearOffset;
190
int remainingYears = year -
m_EraInfo
[i].maxEraYear;
194
if (remainingYears <=
m_EraInfo
[j].maxEraYear)
196
return
m_EraInfo
[i].yearOffset;
198
remainingYears -=
m_EraInfo
[j].maxEraYear;
206
m_EraInfo
[i].minEraYear,
m_EraInfo
[i].maxEraYear));
496
for (int i = 0; i <
m_EraInfo
.Length; i++) {
497
if (ticks >=
m_EraInfo
[i].ticks) {
498
return (
m_EraInfo
[i].era);
508
m_eras = new int[
m_EraInfo
.Length];
509
for (int i = 0; i <
m_EraInfo
.Length; i++) {
510
m_eras[i] =
m_EraInfo
[i].era;
539
for (int i = 0; i <
m_EraInfo
.Length; i++) {
540
if (ticks >=
m_EraInfo
[i].ticks) {
541
return (year -
m_EraInfo
[i].yearOffset);
553
for (int i = 0; i <
m_EraInfo
.Length; i++) {
554
if (ticks >=
m_EraInfo
[i].ticks) {
555
return (year -
m_EraInfo
[i].yearOffset);