3 writes to ShortDatePattern
Microsoft.Data.Analysis.Tests (2)
DataFrame.IOTests.cs (2)
1095cultureInfo.DateTimeFormat.ShortDatePattern = "yyyy-MM-dd"; 1124cultureInfo.DateTimeFormat.ShortDatePattern = "yyyy-MM-dd";
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\FileSystem.vb (1)
45dfi.ShortDatePattern = "\#yyyy-MM-dd\#"
24 references to ShortDatePattern
aspire (1)
src\Shared\DateFormatStringsHelpers.cs (1)
40var key = new CultureDetailsKey(cultureInfo.DateTimeFormat.LongTimePattern, cultureInfo.DateTimeFormat.ShortDatePattern, cultureInfo.NumberFormat.NumberDecimalSeparator, timeFormat);
Aspire.Dashboard (1)
src\Shared\DateFormatStringsHelpers.cs (1)
40var key = new CultureDetailsKey(cultureInfo.DateTimeFormat.LongTimePattern, cultureInfo.DateTimeFormat.ShortDatePattern, cultureInfo.NumberFormat.NumberDecimalSeparator, timeFormat);
PresentationFramework (2)
System\Windows\Controls\DatePicker.cs (2)
1001return d.ToString(dtfi.ShortDatePattern, dtfi); 1293this._textBox.Watermark = string.Format(CultureInfo.CurrentCulture, SR.DatePicker_WatermarkText, dtfi.ShortDatePattern.ToString());
System.ComponentModel.TypeConverter (5)
System\ComponentModel\DateOnlyConverter.cs (1)
93return dateOnly.ToString(culture.DateTimeFormat.ShortDatePattern, culture);
System\ComponentModel\DateTimeConverter.cs (2)
110format = formatInfo!.ShortDatePattern; 114format = formatInfo!.ShortDatePattern + " " + formatInfo.ShortTimePattern;
System\ComponentModel\DateTimeOffsetConverter.cs (2)
120format = formatInfo!.ShortDatePattern + " zzz"; 126format = formatInfo!.ShortDatePattern + " " + formatInfo.ShortTimePattern + " zzz";
System.Private.CoreLib (15)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormat.cs (1)
899'd' => dtfi.ShortDatePattern, // Short Date
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (5)
902internal string GeneralShortTimePattern => generalShortTimePattern ??= ShortDatePattern + " " + ShortTimePattern; 909internal string GeneralLongTimePattern => generalLongTimePattern ??= ShortDatePattern + " " + LongTimePattern; 963ShortDatePattern + " " + longTimePattern : 964ShortDatePattern + " " + longTimePattern + " zzz"; 1430private string[] AllShortDatePatterns => GetMergedPatterns(UnclonedShortDatePatterns, ShortDatePattern);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (9)
1612if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, out int order)) 1614result.SetFailure(ParseFailureKind.Format_BadDatePattern, dtfi.ShortDatePattern); 1799if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, out int order)) 1801result.SetFailure(ParseFailureKind.Format_BadDatePattern, dtfi.ShortDatePattern); 1867string pattern = dtfi.ShortDatePattern; 1902if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, out int order)) 1904result.SetFailure(ParseFailureKind.Format_BadDatePattern, dtfi.ShortDatePattern); 2147if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, out int order)) 2149result.SetFailure(ParseFailureKind.Format_BadDatePattern, dtfi.ShortDatePattern);