From 21aff33a92ce2cb4eac50e35a27057a8963988a8 Mon Sep 17 00:00:00 2001 From: Mikkel Krautz Date: Mon, 2 Jun 2025 12:40:58 +0200 Subject: [PATCH] Align DateOnly's Year, Month and Day properties with DateTime This copies the documentation from DateTime about the range of the returned values. --- xml/System/DateOnly.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xml/System/DateOnly.xml b/xml/System/DateOnly.xml index 3c630e286c7..ed11d39bc5d 100644 --- a/xml/System/DateOnly.xml +++ b/xml/System/DateOnly.xml @@ -301,7 +301,7 @@ Gets the day component of the date represented by this instance. - A number representing the day component of the date represented by this instance. + The day component, expressed as a value between 1 and 31. To be added. @@ -641,7 +641,7 @@ Gets the month component of the date represented by this instance. - A number that represents the month component of the date. + The month component, expressed as a value between 1 and 12. To be added. @@ -2436,7 +2436,7 @@ The property of the resulting Gets the year component of the date represented by this instance. - A number that represents the year component of the date. + The year, between 1 and 9999. To be added.