8000 Align DateOnly's Year, Month and Day properties with DateTime · dotnet/dotnet-api-docs@21aff33 · GitHub
[go: up one dir, main page]

Skip to content

Commit 21aff33

Browse files
author
Mikkel Krautz
committed
Align DateOnly's Year, Month and Day properties with DateTime
This copies the documentation from DateTime about the range of the returned values.
1 parent e50aa1e commit 21aff33

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, between 1 and 9999.</value>
24402440
<remarks>To be added.</remarks>
24412441
</Docs>
24422442
</Member>

0 commit comments

Comments
 (0)
0