11 references to DateOnly
Microsoft.AspNetCore.Components.Endpoints.Tests (4)
Binding\FormDataMapperTests.cs (2)
2124{ "04/20/2023", typeof(DateOnly?), new DateOnly?(new DateOnly(2023, 04, 20))}, 2209{ "04/20/2023", typeof(DateOnly), new DateOnly(2023, 04, 20) },
FormMapping\Converters\NullableConverterTests.cs (2)
30var date = new DateOnly(2023, 11, 30); 106var date = new DateOnly(2023, 11, 30);
Microsoft.AspNetCore.Components.Tests (2)
PersistentStateValueProviderKeyResolverTests.cs (2)
38{ new DateOnly(2023, 1, 1), new DateOnly(2023, 12, 31) },
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTests.TryParse.cs (1)
46new object[] { "DateOnly", "9/20/2021 ", new DateOnly(2021, 9, 20) },
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
InputTagHelperTest.cs (2)
2150var model = new DateOnly( 2285var model = new DateOnly(
Microsoft.Extensions.AI.Abstractions.Tests (1)
test\Shared\JsonSchemaExporter\TestTypes.cs (1)
95yield return new TestData<DateOnly>(new(2021, 1, 1), """{"type":"string","format": "date"}""");
Microsoft.Gen.Logging.Generated.Tests (1)
LogPropertiesTests.cs (1)
112P20 = new DateOnly(2022, 6, 21),