From 2ea1db19968f520e6816f397cc6e190514a779ef Mon Sep 17 00:00:00 2001 From: Robert Simpson <323132+Rob-S@users.noreply.github.com> Date: Thu, 31 Jul 2025 16:26:53 -0500 Subject: [PATCH] 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". --- xml/System/DateTimeOffset.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xml/System/DateTimeOffset.xml b/xml/System/DateTimeOffset.xml index 610a554b627..781f620b62d 100644 --- a/xml/System/DateTimeOffset.xml +++ b/xml/System/DateTimeOffset.xml @@ -294,7 +294,7 @@ A date and time. The time's offset from Coordinated Universal Time (UTC). - Initializes a new instance of the structure using the specified value and offset. + Initializes a new instance of the structure using the specified value and . A date and time expressed as the number of 100-nanosecond intervals that have elapsed since 12:00:00 midnight on January 1, 0001. The time's offset from Coordinated Universal Time (UTC). - Initializes a new instance of the structure using the specified number of ticks and offset. + Initializes a new instance of the structure using the specified number of and . The minutes (0 through 59). The seconds (0 through 59). The time's offset from Coordinated Universal Time (UTC). - Initializes a new instance of the structure using the specified year, month, day, hour, minute, second, and offset. + Initializes a new instance of the structure using the specified , , , , , and . The seconds (0 through 59). The milliseconds (0 through 999). The time's offset from Coordinated Universal Time (UTC). - Initializes a new instance of the structure using the specified year, month, day, hour, minute, second, millisecond, and offset. + Initializes a new instance of the structure using the specified , , , , , , and . The milliseconds (0 through 999). The calendar that is used to interpret , , and . The time's offset from Coordinated Universal Time (UTC). - Initializes a new instance of the structure using the specified year, month, day, hour, minute, second, millisecond, and offset of a specified calendar. + Initializes a new instance of the structure using the specified , , , , , , , and . The microseconds (0 through 999). The calendar that is used to interpret , , and . The time's offset from Coordinated Universal Time (UTC). - Initializes a new instance of the structure using the specified , , , , , , , and . + Initializes a new instance of the structure using the specified , , , , , , , , and .