13 references to FromDateTime
Deployers.ApiService (1)
Program.cs (1)
17DateOnly.FromDateTime(DateTime.Now.AddDays(index)),
Keycloak.ApiService (1)
Program.cs (1)
33DateOnly.FromDateTime(DateTime.Now.AddDays(index)),
Microsoft.AspNetCore.Components (2)
BindConverter.cs (2)
1458value = DateOnly.FromDateTime(dateTime); 1476value = DateOnly.FromDateTime(dateTime);
Microsoft.AspNetCore.Components.Tests (3)
BindConverterTest.cs (2)
189var value = DateOnly.FromDateTime(DateTime.Now); 203var value = DateOnly.FromDateTime(DateTime.Now);
RenderTreeDiffBuilderTest.cs (1)
1739var dateOnlyWillNotChange = DateOnly.FromDateTime(dateTimeWillNotChange);
Stress.ApiService (1)
Program.cs (1)
318DateOnly.FromDateTime(DateTime.Now.AddDays(index)),
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\DateTime.cs (1)
1899date = DateOnly.FromDateTime(this);
src\libraries\System.Private.CoreLib\src\System\Globalization\ISOWeek.cs (1)
169public 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)
105value = DateOnly.FromDateTime(dateTime);
TestingAppHost1.MyWebApp (1)
Program.cs (1)
28DateOnly.FromDateTime(DateTime.Now.AddDays(index)),
Yarp.Backend (1)
Program.cs (1)
24DateOnly.FromDateTime(DateTime.Now.AddDays(index)),