13 references to FromDateTime
Deployers.ApiService (1)
Program.cs (1)
17
DateOnly.
FromDateTime
(DateTime.Now.AddDays(index)),
Keycloak.ApiService (1)
Program.cs (1)
33
DateOnly.
FromDateTime
(DateTime.Now.AddDays(index)),
Microsoft.AspNetCore.Components (2)
BindConverter.cs (2)
1458
value = DateOnly.
FromDateTime
(dateTime);
1476
value = DateOnly.
FromDateTime
(dateTime);
Microsoft.AspNetCore.Components.Tests (3)
BindConverterTest.cs (2)
189
var value = DateOnly.
FromDateTime
(DateTime.Now);
203
var value = DateOnly.
FromDateTime
(DateTime.Now);
RenderTreeDiffBuilderTest.cs (1)
1739
var dateOnlyWillNotChange = DateOnly.
FromDateTime
(dateTimeWillNotChange);
Stress.ApiService (1)
Program.cs (1)
318
DateOnly.
FromDateTime
(DateTime.Now.AddDays(index)),
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
1899
date = DateOnly.
FromDateTime
(this);
src\libraries\System.Private.CoreLib\src\System\Globalization\ISOWeek.cs (1)
169
public static DateOnly ToDateOnly(int year, int week, DayOfWeek dayOfWeek) => DateOnly.
FromDateTime
(ToDateTime(year, week, dayOfWeek));
System.Text.Json (1)
System\Text\Json\JsonHelpers.Date.cs (1)
105
value = DateOnly.
FromDateTime
(dateTime);
TestingAppHost1.MyWebApp (1)
Program.cs (1)
28
DateOnly.
FromDateTime
(DateTime.Now.AddDays(index)),
Yarp.Backend (1)
Program.cs (1)
24
DateOnly.
FromDateTime
(DateTime.Now.AddDays(index)),