10 references to DateOnly
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (10)
45public static DateOnly MinValue => new DateOnly(MinDayNumber); 50public static DateOnly MaxValue => new DateOnly(MaxDayNumber); 80return new DateOnly((uint)dayNumber); 129return new DateOnly(newDayNumber); 139public DateOnly AddMonths(int value) => new DateOnly(DayNumberFromDateTime(GetEquivalentDateTime().AddMonths(value))); 146public DateOnly AddYears(int value) => new DateOnly(DayNumberFromDateTime(GetEquivalentDateTime().AddYears(value))); 232public static DateOnly FromDateTime(DateTime dateTime) => new DateOnly(DayNumberFromDateTime(dateTime)); 461result = new DateOnly(DayNumberFromDateTime(dtResult.parsedDate)); 526result = new DateOnly(DayNumberFromDateTime(dtResult.parsedDate)); 594result = new DateOnly(DayNumberFromDateTime(dtResult.parsedDate));