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