Home
last modified time | relevance | path

Searched refs:ShortDatePattern (Results 1 – 25 of 54) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Globalization/tests/DateTimeFormatInfo/
H A DDateTimeFormatInfoShortDatePattern.cs16 Assert.Equal("MM/dd/yyyy", DateTimeFormatInfo.InvariantInfo.ShortDatePattern); in ShortDatePattern_InvariantInfo()
32 format.ShortDatePattern = newShortDatePattern; in ShortDatePattern_Set()
33 Assert.Equal(newShortDatePattern, format.ShortDatePattern); in ShortDatePattern_Set()
39 …rows<ArgumentNullException>("value", () => new DateTimeFormatInfo().ShortDatePattern = null); // V… in ShortDatePattern_Set_Invalid()
40 …s<InvalidOperationException>(() => DateTimeFormatInfo.InvariantInfo.ShortDatePattern = "MM/dd/yyyy… in ShortDatePattern_Set_Invalid()
H A DDateTimeFormatInfoGetInstance.cs65 Assert.Equal(expected.ShortDatePattern, value.ShortDatePattern); in AssertSameValues()
H A DDateTimeFormatInfoClone.cs43 Assert.Equal(format.ShortDatePattern, clone.ShortDatePattern); in Clone()
H A DDateTimeFormatInfoTests.cs45 …Assert.True(dtfi.ShortDatePattern.IndexOf(dateSep) > 0, "dtfi.ShortDatePattern should be greater t… in SeparatorsTest()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.TypeConverter/tests/
H A DDateTimeConverterTests.cs54 … string formatWithTime = formatInfo.ShortDatePattern + " " + formatInfo.ShortTimePattern; in ConvertTo_WithContext()
55 string format = formatInfo.ShortDatePattern; in ConvertTo_WithContext()
H A DDateTimeOffsetConverterTests.cs56 … string formatWithTime = formatInfo.ShortDatePattern + " " + formatInfo.ShortTimePattern + " zzz"; in ConvertTo_WithContext()
57 string format = formatInfo.ShortDatePattern + " zzz"; in ConvertTo_WithContext()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.TypeConverter/src/System/ComponentModel/
H A DDateTimeConverter.cs123 format = formatInfo.ShortDatePattern; in ConvertTo()
127 format = formatInfo.ShortDatePattern + " " + formatInfo.ShortTimePattern; in ConvertTo()
H A DDateTimeOffsetConverter.cs135 format = formatInfo.ShortDatePattern + " zzz"; in ConvertTo()
141 … format = formatInfo.ShortDatePattern + " " + formatInfo.ShortTimePattern + " zzz"; in ConvertTo()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/componentmodel/
H A DDateTimeConverter.cs115 format = formatInfo.ShortDatePattern; in ConvertTo()
118 format = formatInfo.ShortDatePattern + " " + formatInfo.ShortTimePattern; in ConvertTo()
H A DDateTimeOffsetConverter.cs129 format = formatInfo.ShortDatePattern + " zzz"; in ConvertTo()
134 … format = formatInfo.ShortDatePattern + " " + formatInfo.ShortTimePattern + " zzz"; in ConvertTo()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.ComponentModel/
H A DDateTimeConverterTests.cs31 pattern = info.ShortDatePattern + " " + info.ShortTimePattern; in SetUp()
156 Assert.AreEqual (date.ToString (info.ShortDatePattern + " " + in ConvertToString()
238 info.ShortDatePattern = "MM?dd?yyyy"; in GetFormat()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/System.Web.UI.WebControls/
H A DBaseCompareValidator.cs56 string pattern = dateTimeFormat.ShortDatePattern; in AddAttributesToRender()
109 string pattern = Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern; in GetDateElementOrder()
/dports/www/orangehrm/orangehrm-4.9/symfony/lib/vendor/symfony/lib/i18n/
H A DsfDateFormat.class.php297 return $this->formatInfo->ShortDatePattern;
327 …return $this->formatInfo->formatDateTime($this->formatInfo->ShortDatePattern, $this->formatInfo->S…
330 …return $this->formatInfo->formatDateTime($this->formatInfo->ShortDatePattern, $this->formatInfo->L…
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKv3/GKComponents/GKUI/Components/
H A DGKDateBox.cs71 var result = dtf.ShortDatePattern.ToLowerInvariant(); in GetShortDatePattern()
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKv2/GKComponents/GKUI/Components/
H A DGKDateBox.cs74 var result = dtf.ShortDatePattern.ToLowerInvariant(); in GetShortDatePattern()
/dports/security/keepass/KeePass-2.49-Source/KeePass/UI/
H A DExpiryControlGroup.cs92 m_dtp.CustomFormat = DateTimeFormatInfo.CurrentInfo.ShortDatePattern + in Attach()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/globalization/
H A Ddatetimeformatinfo.cs455 if (shortDatePattern != null) this.ShortDatePattern = shortDatePattern; in OnDeserialized()
486 o = this.ShortDatePattern; in OnSerializing()
1125 public String ShortDatePattern property in System.Globalization.DateTimeFormatInfo
1217 generalShortTimePattern = ShortDatePattern + " " + ShortTimePattern;
1233 generalLongTimePattern = ShortDatePattern + " " + LongTimePattern;
1257 dateTimeOffsetPattern = ShortDatePattern + " " + LongTimePattern;
1874 return GetMergedPatterns(this.UnclonedShortDatePatterns, this.ShortDatePattern);
H A Ddatetimeparse.cs1543 if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, dtfi, out order)) { in GetDayOfNNN()
1544 …t.SetFailure(ParseFailureKind.FormatWithParameter, "Format_BadDatePattern", dtfi.ShortDatePattern); in GetDayOfNNN()
1715 if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, dtfi, out order)) { in GetDayOfMNN()
1716 …t.SetFailure(ParseFailureKind.FormatWithParameter, "Format_BadDatePattern", dtfi.ShortDatePattern); in GetDayOfMNN()
1781 String pattern = dtfi.ShortDatePattern; in GetDayOfYNN()
1813 if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, dtfi, out order)) { in GetDayOfNNY()
1814 …t.SetFailure(ParseFailureKind.FormatWithParameter, "Format_BadDatePattern", dtfi.ShortDatePattern); in GetDayOfNNY()
2032 if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, dtfi, out order)) { in GetDateOfNNDS()
2033 …t.SetFailure(ParseFailureKind.FormatWithParameter, "Format_BadDatePattern", dtfi.ShortDatePattern); in GetDateOfNNDS()
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/Globalization/
H A DDateTimeFormatInfo.cs953 public String ShortDatePattern property in System.Globalization.DateTimeFormatInfo
1050 generalShortTimePattern = ShortDatePattern + " " + ShortTimePattern;
1069 generalLongTimePattern = ShortDatePattern + " " + LongTimePattern;
1088 string dateTimePattern = ShortDatePattern + " " + LongTimePattern;
1724 return GetMergedPatterns(this.UnclonedShortDatePatterns, this.ShortDatePattern);
H A DDateTimeParse.cs1599 if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, dtfi, out order)) in GetDayOfNNN()
1601 …ure(ParseFailureKind.FormatWithParameter, nameof(SR.Format_BadDatePattern), dtfi.ShortDatePattern); in GetDayOfNNN()
1794 if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, dtfi, out order)) in GetDayOfMNN()
1796 …ure(ParseFailureKind.FormatWithParameter, nameof(SR.Format_BadDatePattern), dtfi.ShortDatePattern); in GetDayOfMNN()
1862 String pattern = dtfi.ShortDatePattern; in GetDayOfYNN()
1899 if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, dtfi, out order)) in GetDayOfNNY()
1901 …ure(ParseFailureKind.FormatWithParameter, nameof(SR.Format_BadDatePattern), dtfi.ShortDatePattern); in GetDayOfNNY()
2146 if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, dtfi, out order)) in GetDateOfNNDS()
2148 …ure(ParseFailureKind.FormatWithParameter, nameof(SR.Format_BadDatePattern), dtfi.ShortDatePattern); in GetDateOfNNDS()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/Globalization/
H A DDateTimeFormatInfo.cs953 public String ShortDatePattern property in System.Globalization.DateTimeFormatInfo
1050 generalShortTimePattern = ShortDatePattern + " " + ShortTimePattern;
1069 generalLongTimePattern = ShortDatePattern + " " + LongTimePattern;
1088 string dateTimePattern = ShortDatePattern + " " + LongTimePattern;
1724 return GetMergedPatterns(this.UnclonedShortDatePatterns, this.ShortDatePattern);
H A DDateTimeParse.cs1599 if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, dtfi, out order)) in GetDayOfNNN()
1601 …ure(ParseFailureKind.FormatWithParameter, nameof(SR.Format_BadDatePattern), dtfi.ShortDatePattern); in GetDayOfNNN()
1794 if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, dtfi, out order)) in GetDayOfMNN()
1796 …ure(ParseFailureKind.FormatWithParameter, nameof(SR.Format_BadDatePattern), dtfi.ShortDatePattern); in GetDayOfMNN()
1862 String pattern = dtfi.ShortDatePattern; in GetDayOfYNN()
1899 if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, dtfi, out order)) in GetDayOfNNY()
1901 …ure(ParseFailureKind.FormatWithParameter, nameof(SR.Format_BadDatePattern), dtfi.ShortDatePattern); in GetDayOfNNY()
2146 if (!GetYearMonthDayOrder(dtfi.ShortDatePattern, dtfi, out order)) in GetDateOfNNDS()
2148 …ure(ParseFailureKind.FormatWithParameter, nameof(SR.Format_BadDatePattern), dtfi.ShortDatePattern); in GetDateOfNNDS()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.Mobile/UI/MobileControls/Adapters/
H A DWmlCalendarAdapter.cs365 currentDateTimeInfo.ShortDatePattern, CultureInfo.CurrentCulture)); in Render()
720 DateTimeFormatInfo.CurrentInfo.ShortDatePattern; in GetNumericDateFormat()
H A DChtmlCalendarAdapter.cs383 currentDateTimeInfo.ShortDatePattern, CultureInfo.CurrentCulture)); in Render()
743 DateTimeFormatInfo.CurrentInfo.ShortDatePattern; in GetNumericDateFormat()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.Mobile/UI/MobileControls/Adapters/XhtmlAdapters/
H A DXhtmlBasicCalendarAdapter.cs333 currentDateTimeInfo.ShortDatePattern, CultureInfo.CurrentCulture)); in Render()
661 DateTimeFormatInfo.CurrentInfo.ShortDatePattern; in GetNumericDateFormat()

123