13 references to CurrentInfo
Aspire.Dashboard (3)
Components\Controls\Chart\PlotlyChart.razor.cs (3)
73var is24Hour = DateTimeFormatInfo.CurrentInfo.LongTimePattern.StartsWith("H", StringComparison.Ordinal); 78Periods = [DateTimeFormatInfo.CurrentInfo.AMDesignator, DateTimeFormatInfo.CurrentInfo.PMDesignator],
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\DateAndTime.vb (1)
494DayOfWeek = CType(DateTimeFormatInfo.CurrentInfo.FirstDayOfWeek + 1, FirstDayOfWeek)
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (3)
1582return DateTimeParse.Parse(s, DateTimeFormatInfo.CurrentInfo, DateTimeStyles.None); 1790return DateTimeParse.TryParse(s, DateTimeFormatInfo.CurrentInfo, DateTimeStyles.None, out result); 1795return DateTimeParse.TryParse(s, DateTimeFormatInfo.CurrentInfo, DateTimeStyles.None, out result);
src\libraries\System.Private.CoreLib\src\System\DateTimeOffset.cs (3)
655DateTimeFormatInfo.CurrentInfo, 816DateTimeFormatInfo.CurrentInfo, 826bool parsed = DateTimeParse.TryParse(input, DateTimeFormatInfo.CurrentInfo, DateTimeStyles.None, out DateTime dateResult, out TimeSpan offset);
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeFormatInfo.cs (2)
309return provider == null ? CurrentInfo : GetProviderNonNull(provider); 321CurrentInfo;
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\Json\DateTimeFormat.cs (1)
25public DateTimeFormat(string formatString) : this(formatString, DateTimeFormatInfo.CurrentInfo)