Skip to content

Commit 2ea1db1

Browse files
authored
Update DateTimeOffset.xml
"DateTimeOffset(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Calendar, TimeSpan)" does not initialize the new instance using "offset of a specified calendar." Per elsewhere on the same page, the calendar is used to interpret the year, month and day, _not_ the offset. The "calendar" is missing from the similar constructor which includes "microsecond".
1 parent 6321b6c commit 2ea1db1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

xml/System/DateTimeOffset.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@
294294
<Docs>
295295
<param name="dateTime">A date and time.</param>
296296
<param name="offset">The time's offset from Coordinated Universal Time (UTC).</param>
297-
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified <see cref="T:System.DateTime" /> value and offset.</summary>
297+
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified <see cref="T:System.DateTime" /> value and <paramref name="offset" />.</summary>
298298
<remarks>
299299
<format type="text/markdown"><![CDATA[
300300

@@ -379,7 +379,7 @@
379379
<Docs>
380380
<param name="ticks">A date and time expressed as the number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight on January 1, 0001.</param>
381381
<param name="offset">The time's offset from Coordinated Universal Time (UTC).</param>
382-
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified number of ticks and offset.</summary>
382+
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified number of <paramref name="ticks" /> and <paramref name="offset" />.</summary>
383383
<remarks>
384384
<format type="text/markdown"><![CDATA[
385385

@@ -500,7 +500,7 @@
500500
<param name="minute">The minutes (0 through 59).</param>
501501
<param name="second">The seconds (0 through 59).</param>
502502
<param name="offset">The time's offset from Coordinated Universal Time (UTC).</param>
503-
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified year, month, day, hour, minute, second, and offset.</summary>
503+
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified <paramref name="year" />, <paramref name="month" />, <paramref name="day" />, <paramref name="hour" />, <paramref name="minute" />, <paramref name="second" /> and <paramref name="offset" />.</summary>
504504
<remarks>
505505
<format type="text/markdown"><![CDATA[
506506

@@ -607,7 +607,7 @@
607607
<param name="second">The seconds (0 through 59).</param>
608608
<param name="millisecond">The milliseconds (0 through 999).</param>
609609
<param name="offset">The time's offset from Coordinated Universal Time (UTC).</param>
610-
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified year, month, day, hour, minute, second, millisecond, and offset.</summary>
610+
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified <paramref name="year" />, <paramref name="month" />, <paramref name="day" />, <paramref name="hour" />, <paramref name="minute" />, <paramref name="second" />, <paramref name="millisecond" /> and <paramref name="offset" />.</summary>
611611
<remarks>
612612
<format type="text/markdown"><![CDATA[
613613

@@ -716,7 +716,7 @@
716716
<param name="millisecond">The milliseconds (0 through 999).</param>
717717
<param name="calendar">The calendar that is used to interpret <paramref name="year" />, <paramref name="month" />, and <paramref name="day" />.</param>
718718
<param name="offset">The time's offset from Coordinated Universal Time (UTC).</param>
719-
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified year, month, day, hour, minute, second, millisecond, and offset of a specified calendar.</summary>
719+
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified <paramref name="year" />, <paramref name="month" />, <paramref name="day" />, <paramref name="hour" />, <paramref name="minute" />, <paramref name="second" />, <paramref name="millisecond" />, <paramref name="calendar" /> and <paramref name="offset" />.</summary>
720720
<remarks>
721721
<format type="text/markdown"><![CDATA[
722722

@@ -911,7 +911,7 @@ This constructor interprets `year`, `month` and `day` as a year, month and day
911911
<param name="microsecond">The microseconds (0 through 999).</param>
912912
<param name="calendar">The calendar that is used to interpret <paramref name="year" />, <paramref name="month" />, and <paramref name="day" />.</param>
913913
<param name="offset">The time's offset from Coordinated Universal Time (UTC).</param>
914-
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified <paramref name="year" />, <paramref name="month" />, <paramref name="day" />, <paramref name="hour" />, <paramref name="minute" />, <paramref name="second" />, <paramref name="millisecond" />, <paramref name="microsecond" /> and <paramref name="offset" />.</summary>
914+
<summary>Initializes a new instance of the <see cref="T:System.DateTimeOffset" /> structure using the specified <paramref name="year" />, <paramref name="month" />, <paramref name="day" />, <paramref name="hour" />, <paramref name="minute" />, <paramref name="second" />, <paramref name="millisecond" />, <paramref name="microsecond" />, <paramref name="calendar" /> and <paramref name="offset" />.</summary>
915915
<remarks>
916916
<format type="text/markdown"><![CDATA[
917917

0 commit comments

Comments
 (0)