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