7 references to YearMonthPattern
PresentationFramework (1)
System\Windows\Controls\DateTimeHelper.cs (1)
227
result = 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)
1428
private string[] AllYearMonthPatterns => GetMergedPatterns(UnclonedYearMonthPatterns,
YearMonthPattern
);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (4)
1677
if (!GetYearMonthOrder(dtfi.
YearMonthPattern
, out int yearMonthOrder))
1679
result.SetFailure(ParseFailureKind.Format_BadDatePattern, dtfi.
YearMonthPattern
);
1756
if (!GetYearMonthOrder(dtfi.
YearMonthPattern
, out int yearMonthOrder))
1758
result.SetFailure(ParseFailureKind.Format_BadDatePattern, dtfi.
YearMonthPattern
);