14 overrides of ID
System.Private.CoreLib (14)
src\libraries\System.Private.CoreLib\src\System\Globalization\ChineseLunisolarCalendar.cs (1)
293
internal override CalendarId
ID
=> CalendarId.CHINESELUNISOLAR;
src\libraries\System.Private.CoreLib\src\System\Globalization\GregorianCalendar.cs (1)
78
internal override CalendarId
ID
=>
src\libraries\System.Private.CoreLib\src\System\Globalization\HebrewCalendar.cs (1)
289
internal override CalendarId
ID
=> CalendarId.HEBREW;
src\libraries\System.Private.CoreLib\src\System\Globalization\HijriCalendar.cs (1)
74
internal override CalendarId
ID
=> CalendarId.HIJRI;
src\libraries\System.Private.CoreLib\src\System\Globalization\JapaneseCalendar.cs (1)
101
internal override CalendarId
ID
=> CalendarId.JAPAN;
src\libraries\System.Private.CoreLib\src\System\Globalization\JapaneseLunisolarCalendar.cs (1)
211
internal override CalendarId
ID
=> CalendarId.JAPANESELUNISOLAR;
src\libraries\System.Private.CoreLib\src\System\Globalization\JulianCalendar.cs (1)
50
internal override CalendarId
ID
=> CalendarId.JULIAN;
src\libraries\System.Private.CoreLib\src\System\Globalization\KoreanCalendar.cs (1)
57
internal override CalendarId
ID
=> CalendarId.KOREA;
src\libraries\System.Private.CoreLib\src\System\Globalization\KoreanLunisolarCalendar.cs (1)
1230
internal override CalendarId
ID
=> CalendarId.KOREANLUNISOLAR;
src\libraries\System.Private.CoreLib\src\System\Globalization\PersianCalendar.cs (1)
56
internal override CalendarId
ID
=> CalendarId.PERSIAN;
src\libraries\System.Private.CoreLib\src\System\Globalization\TaiwanCalendar.cs (1)
58
internal override CalendarId
ID
=> CalendarId.TAIWAN;
src\libraries\System.Private.CoreLib\src\System\Globalization\TaiwanLunisolarCalendar.cs (1)
229
internal override CalendarId
ID
=> CalendarId.TAIWANLUNISOLAR;
src\libraries\System.Private.CoreLib\src\System\Globalization\ThaiBuddhistCalendar.cs (1)
39
internal override CalendarId
ID
=> CalendarId.THAI;
src\libraries\System.Private.CoreLib\src\System\Globalization\UmAlQuraCalendar.cs (1)
258
internal override CalendarId
ID
=> CalendarId.UMALQURA;
37 references to ID
System.Private.CoreLib (37)
src\libraries\System.Private.CoreLib\src\System\Globalization\Calendar.cs (1)
50
internal virtual CalendarId BaseCalendarID =>
ID
;
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (4)
434
bool isHebrewCalendar = (cal.
ID
== CalendarId.HEBREW);
435
bool isJapaneseCalendar = (cal.
ID
== CalendarId.JAPAN);
640
else if (cal.
ID
== CalendarId.HEBREW)
1148
dtfi.Calendar.
ID
is
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (30)
165
abbreviatedDayNames = _cultureData.AbbreviatedDayNames(Calendar.
ID
);
179
m_superShortDayNames = _cultureData.SuperShortDayNames(Calendar.
ID
);
193
dayNames = _cultureData.DayNames(Calendar.
ID
);
207
abbreviatedMonthNames = _cultureData.AbbreviatedMonthNames(Calendar.
ID
);
222
monthNames = _cultureData.MonthNames(Calendar.
ID
);
243
InitializeOverridableProperties(cultureData, calendar.
ID
);
393
if (OptionalCalendars[i] == value.
ID
)
450
InitializeOverridableProperties(_cultureData, calendar.
ID
);
518
internal string[] EraNames => m_eraNames ??= _cultureData.EraNames(Calendar.
ID
);
543
internal string[] AbbreviatedEraNames => m_abbrevEraNames ??= _cultureData.AbbrevEraNames(Calendar.
ID
);
578
Debug.Assert(Calendar.
ID
> 0, "[DateTimeFormatInfo.AbbreviatedEnglishEraNames] Expected Calendar.ID > 0");
579
m_abbrevEnglishEraNames = _cultureData.AbbreviatedEnglishEraNames(Calendar.
ID
);
593
dateSeparator ??= _cultureData.DateSeparator(Calendar.
ID
);
773
Debug.Assert(Calendar.
ID
> 0, "[DateTimeFormatInfo.MonthDayPattern] Expected calID > 0");
774
monthDayPattern = _cultureData.MonthDay(Calendar.
ID
);
1200
m_genitiveAbbreviatedMonthNames = _cultureData.AbbreviatedGenitiveMonthNames(Calendar.
ID
);
1210
genitiveMonthNames = _cultureData.GenitiveMonthNames(Calendar.
ID
);
1227
Debug.Assert(Calendar.
ID
> 0, "[DateTimeFormatInfo.InternalGetLeapYearMonthNames] Expected Calendar.ID > 0");
1228
leapYearMonthNames = _cultureData.LeapYearMonthNames(Calendar.
ID
);
1449
Debug.Assert(Calendar.
ID
> 0, "[DateTimeFormatInfo.UnclonedYearMonthPatterns] Expected Calendar.ID > 0");
1450
allYearMonthPatterns = _cultureData.YearMonths(Calendar.
ID
);
1470
Debug.Assert(Calendar.
ID
> 0, "[DateTimeFormatInfo.UnclonedShortDatePatterns] Expected Calendar.ID > 0");
1471
allShortDatePatterns = _cultureData.ShortDates(Calendar.
ID
);
1491
Debug.Assert(Calendar.
ID
> 0, "[DateTimeFormatInfo.UnclonedLongDatePatterns] Expected Calendar.ID > 0");
1492
allLongDatePatterns = _cultureData.LongDates(Calendar.
ID
);
1568
public string NativeCalendarName => _cultureData.CalendarName(Calendar.
ID
);
1762
(DateTimeFormatFlags)DateTimeFormatInfoScanner.GetFormatFlagUseHebrewCalendar((int)Calendar.
ID
);
1775
calendar.
ID
is CalendarId.JAPAN or CalendarId.TAIWAN;
1975
if (!LocalAppContextSwitches.EnforceLegacyJapaneseDateParsing && Calendar.
ID
== CalendarId.JAPAN)
2280
if (!LocalAppContextSwitches.EnforceLegacyJapaneseDateParsing && Calendar.
ID
== CalendarId.JAPAN &&
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (2)
4010
if (LocalAppContextSwitches.EnforceLegacyJapaneseDateParsing || dtfi.Calendar.
ID
!= CalendarId.JAPAN || !str.GetNext())
4628
parseInfo.fUseHebrewNumberParser = parseInfo.calendar.
ID
== CalendarId.HEBREW;