25 references to DateTimeFormatFlags
System.Private.CoreLib (25)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (1)
600if ((dtfi.FormatFlags & DateTimeFormatFlags.UseGenitiveMonth) != 0)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (17)
146private DateTimeFormatFlags formatFlags = DateTimeFormatFlags.NotInitialized; 416formatFlags = DateTimeFormatFlags.NotInitialized; 1162internal bool HasSpacesInMonthNames => (FormatFlags & DateTimeFormatFlags.UseSpacesInMonthNames) != 0; 1164internal bool HasSpacesInDayNames => (FormatFlags & DateTimeFormatFlags.UseSpacesInDayNames) != 0; 1750internal DateTimeFormatFlags FormatFlags => formatFlags != DateTimeFormatFlags.NotInitialized ? formatFlags : InitializeFormatFlags(); 1753private DateTimeFormatFlags InitializeFormatFlags() 1757(DateTimeFormatFlags)DateTimeFormatInfoScanner.GetFormatFlagGenitiveMonth( 1759(DateTimeFormatFlags)DateTimeFormatInfoScanner.GetFormatFlagUseSpaceInMonthNames( 1761(DateTimeFormatFlags)DateTimeFormatInfoScanner.GetFormatFlagUseSpaceInDayNames(DayNames, AbbreviatedDayNames) | 1762(DateTimeFormatFlags)DateTimeFormatInfoScanner.GetFormatFlagUseHebrewCalendar((int)Calendar.ID); 1780internal bool HasYearMonthAdjustment => (FormatFlags & DateTimeFormatFlags.UseHebrewRule) != 0; 1791if ((FormatFlags & DateTimeFormatFlags.UseHebrewRule) != 0) 1917formatFlags = DateTimeFormatFlags.NotInitialized; 2066if ((FormatFlags & DateTimeFormatFlags.UseGenitiveMonth) != 0) 2078if ((FormatFlags & DateTimeFormatFlags.UseLeapYearMonth) != 0)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (7)
2631if ((dtfi.FormatFlags & DateTimeFormatFlags.UseHebrewRule) != 0) 3406if ((dtfi.FormatFlags & DateTimeFormatFlags.UseGenitiveMonth) != 0 && FormatContainsDayOfMonthSpecifier(format)) 3418if ((dtfi.FormatFlags & DateTimeFormatFlags.UseLeapYearMonth) != 0) 3505if ((dtfi.FormatFlags & DateTimeFormatFlags.UseGenitiveMonth) != 0 && FormatContainsDayOfMonthSpecifier(format)) 3518if ((dtfi.FormatFlags & DateTimeFormatFlags.UseLeapYearMonth) != 0) 4676if (parseInfo.fUseTwoDigitYear && ((dtfi.FormatFlags & DateTimeFormatFlags.UseHebrewRule) == 0)) 5416m_checkDigitToken = ((dtfi.FormatFlags & DateTimeFormatFlags.UseDigitPrefixInTokens) != 0);