Skip to content

Commit 1ef7687

Browse files
committed
System.Globalization docs
1 parent ec4e7fb commit 1ef7687

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

xml/System.Globalization/CompareOptions.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,11 @@ The following code example shows how sorting with StringSort differs from sortin
401401
</ReturnValue>
402402
<MemberValue>32</MemberValue>
403403
<Docs>
404-
<summary>To be added.</summary>
404+
<summary>
405+
<para>Indicates that the string comparison must sort sequences of digits (Unicode general category "Nd") based on their numeric value.</para>
406+
<para>For example, "2" comes before "10". Non-digit characters such as decimal points, minus or plus signs, etc.</para>
407+
<para>are not considered as part of the sequence and will terminate it. This flag is not valid for indexing (such as <see cref="M:System.Globalization.CompareInfo.IndexOf(System.String,System.String,System.Globalization.CompareOptions)" />, <see cref="M:System.Globalization.CompareInfo.IsPrefix(System.String,System.String,System.Globalization.CompareOptions)" />, etc.).</para>
408+
</summary>
405409
</Docs>
406410
</Member>
407411
<Member MemberName="Ordinal">

xml/System.Globalization/ISOWeek.xml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
<Parameter Name="date" Type="System.DateOnly" Index="0" FrameworkAlternate="net-10.0" />
6060
</Parameters>
6161
<Docs>
62-
<param name="date">To be added.</param>
63-
<summary>To be added.</summary>
64-
<returns>To be added.</returns>
62+
<param name="date">A date in the Gregorian calendar.</param>
63+
<summary>Calculates the ISO week number of a given Gregorian date.</summary>
64+
<returns>A number between 1 and 53 representing the ISO week number of the given Gregorian date.</returns>
6565
<remarks>To be added.</remarks>
6666
</Docs>
6767
</Member>
@@ -167,9 +167,9 @@
167167
<Parameter Name="date" Type="System.DateOnly" Index="0" FrameworkAlternate="net-10.0" />
168168
</Parameters>
169169
<Docs>
170-
<param name="date">To be added.</param>
171-
<summary>To be added.</summary>
172-
<returns>To be added.</returns>
170+
<param name="date">A date in the Gregorian calendar.</param>
171+
<summary>Calculates the ISO week-numbering year (also called ISO year informally) mapped to the input Gregorian date.</summary>
172+
<returns>The ISO week-numbering year, between 1 and 9999</returns>
173173
<remarks>To be added.</remarks>
174174
</Docs>
175175
</Member>
@@ -311,11 +311,11 @@
311311
<Parameter Name="dayOfWeek" Type="System.DayOfWeek" Index="2" FrameworkAlternate="net-10.0" />
312312
</Parameters>
313313
<Docs>
314-
<param name="year">To be added.</param>
315-
<param name="week">To be added.</param>
316-
<param name="dayOfWeek">To be added.</param>
317-
<summary>To be added.</summary>
318-
<returns>To be added.</returns>
314+
<param name="year">An ISO week-numbering year (also called an ISO year informally).</param>
315+
<param name="week">The ISO week number in the given ISO week-numbering year.</param>
316+
<param name="dayOfWeek">The day of week inside the given ISO week.</param>
317+
<summary>Maps the ISO week date represented by a specified ISO year, week number, and day of week to the equivalent Gregorian date.</summary>
318+
<returns>The Gregorian date equivalent to the input ISO week date.</returns>
319319
<remarks>To be added.</remarks>
320320
</Docs>
321321
</Member>

0 commit comments

Comments
 (0)