Skip to content

Commit eb2a87e

Browse files
authored
Align DateOnly's Year, Month and Day properties with DateTime (#11387)
1 parent 009cc85 commit eb2a87e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/System/DateOnly.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@
301301
</ReturnValue>
302302
<Docs>
303303
<summary>Gets the day component of the date represented by this instance.</summary>
304-
<value>A number representing the day component of the date represented by this instance.</value>
304+
<value>The day component, expressed as a value between 1 and 31.</value>
305305
<remarks>To be added.</remarks>
306306
</Docs>
307307
</Member>
@@ -641,7 +641,7 @@
641641
</ReturnValue>
642642
<Docs>
643643
<summary>Gets the month component of the date represented by this instance.</summary>
644-
<value>A number that represents the month component of the date.</value>
644+
<value>The month component, expressed as a value between 1 and 12.</value>
645645
<remarks>To be added.</remarks>
646646
</Docs>
647647
</Member>
@@ -2436,7 +2436,7 @@ The <xref:System.DateTime.Kind> property of the resulting <xref:System.DateTime>
24362436
</ReturnValue>
24372437
<Docs>
24382438
<summary>Gets the year component of the date represented by this instance.</summary>
2439-
<value>A number that represents the year component of the date.</value>
2439+
<value>The year component, expressed as a value between 1 and 9999.</value>
24402440
<remarks>To be added.</remarks>
24412441
</Docs>
24422442
</Member>

0 commit comments

Comments
 (0)