Skip to content

Commit 86b27cc

Browse files
author
Ron Petrusha
authored
Added DateTimeOffset.DayOfWeek (#3092)
1 parent 19e4943 commit 86b27cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System/DayOfWeek.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
## Remarks
4646
The <xref:System.DayOfWeek> enumeration represents the day of the week in calendars that have seven days per week. The value of the constants in this enumeration ranges from Sunday to Saturday. If cast to an integer, its value ranges from zero (which indicates Sunday) to six (which indicates Saturday).
4747
48-
This enumeration is useful when it is desirable to have a strongly typed specification of the day of the week. For example, this enumeration is the type of the property value for the <xref:System.DateTime.DayOfWeek%2A?displayProperty=nameWithType> property.
48+
This enumeration is useful when it is desirable to have a strongly typed specification of the day of the week. For example, this enumeration is the type of the property value for the <xref:System.DateTime.DayOfWeek%2A?displayProperty=nameWithType> and <xref:System.DateTimeOffset.DayOfWeek?displayProperty=nameWithType> properties.
4949
5050
The members of the <xref:System.DayOfWeek> enumeration are not localized. To return the localized name of the day of the week, call the <xref:System.DateTime.ToString%28System.String%29?displayProperty=nameWithType> or the <xref:System.DateTime.ToString%28System.String%2CSystem.IFormatProvider%29?displayProperty=nameWithType> method with either the "ddd" or "dddd" format strings. The former format string produces the abbreviated weekday name; the latter produces the full weekday name.
5151

0 commit comments

Comments
 (0)