Skip to content

Align DateOnly's Year, Month and Day properties with DateTime #11387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions xml/System/DateOnly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@
</ReturnValue>
<Docs>
<summary>Gets the day component of the date represented by this instance.</summary>
<value>A number representing the day component of the date represented by this instance.</value>
<value>The day component, expressed as a value between 1 and 31.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
Expand Down Expand Up @@ -641,7 +641,7 @@
</ReturnValue>
<Docs>
<summary>Gets the month component of the date represented by this instance.</summary>
<value>A number that represents the month component of the date.</value>
<value>The month component, expressed as a value between 1 and 12.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
Expand Down Expand Up @@ -2436,7 +2436,7 @@ The <xref:System.DateTime.Kind> property of the resulting <xref:System.DateTime>
</ReturnValue>
<Docs>
<summary>Gets the year component of the date represented by this instance.</summary>
<value>A number that represents the year component of the date.</value>
<value>The year, between 1 and 9999.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
Expand Down