src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (3)
39_dayNumber = dayNumber;
58public DateOnly(int year, int month, int day) => _dayNumber = DayNumberFromDateTime(new DateTime(year, month, day));
67public DateOnly(int year, int month, int day, Calendar calendar) => _dayNumber = DayNumberFromDateTime(new DateTime(year, month, day, calendar));