7 references to YearMonthPattern
PresentationFramework (1)
System\Windows\Controls\DateTimeHelper.cs (1)
227result = date.Value.ToString(format.YearMonthPattern, format);
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (1)
913'y' or 'Y' => dtfi.YearMonthPattern, // Year/Month Date
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (1)
1428private string[] AllYearMonthPatterns => GetMergedPatterns(UnclonedYearMonthPatterns, YearMonthPattern);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (4)
1677if (!GetYearMonthOrder(dtfi.YearMonthPattern, out int yearMonthOrder)) 1679result.SetFailure(ParseFailureKind.Format_BadDatePattern, dtfi.YearMonthPattern); 1756if (!GetYearMonthOrder(dtfi.YearMonthPattern, out int yearMonthOrder)) 1758result.SetFailure(ParseFailureKind.Format_BadDatePattern, dtfi.YearMonthPattern);