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