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