14 overrides of GetEra
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Globalization\ChineseLunisolarCalendar.cs (1)
287public override int GetEra(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\GregorianCalendar.cs (1)
233public override int GetEra(DateTime time) => ADEra;
src\libraries\System.Private.CoreLib\src\System\Globalization\HebrewCalendar.cs (1)
687public override int GetEra(DateTime time) => HebrewEra;
src\libraries\System.Private.CoreLib\src\System\Globalization\HijriCalendar.cs (1)
341public override int GetEra(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\JapaneseCalendar.cs (1)
148public override int GetEra(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\JapaneseLunisolarCalendar.cs (1)
207public override int GetEra(DateTime time) => _helper.GetEra(time);
src\libraries\System.Private.CoreLib\src\System\Globalization\JulianCalendar.cs (1)
248public override int GetEra(DateTime time) => JulianEra;
src\libraries\System.Private.CoreLib\src\System\Globalization\KoreanCalendar.cs (1)
105public override int GetEra(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\KoreanLunisolarCalendar.cs (1)
1222public override int GetEra(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\PersianCalendar.cs (1)
300public override int GetEra(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\TaiwanCalendar.cs (1)
105public override int GetEra(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\TaiwanLunisolarCalendar.cs (1)
225public override int GetEra(DateTime time) => _helper.GetEra(time);
src\libraries\System.Private.CoreLib\src\System\Globalization\ThaiBuddhistCalendar.cs (1)
86public override int GetEra(DateTime time)
src\libraries\System.Private.CoreLib\src\System\Globalization\UmAlQuraCalendar.cs (1)
507public override int GetEra(DateTime time)
5 references to GetEra
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (1)
450AppendString(ref result, dtfi.GetEraName(cal.GetEra(dateTime)));
src\libraries\System.Private.CoreLib\src\System\Globalization\EastAsianLunisolarCalendar.cs (4)
91if (era == GetEra(MinDate)) 121if (era == GetEra(MaxDate)) 160if (era < GetEra(MinDate) || era > GetEra(MaxDate))