Mono Class Library: System.Globalization.DateTimeFormatInfo Overview | Members

System.Globalization.DateTimeFormatInfo.AbbreviatedDayNames Property

Gets or sets a one-dimensional array of type string containing the culture-specific abbreviated names of the days of the week. [Edit]

public string[] AbbreviatedDayNames { set; get; }

Value

A one-dimensional array of type string containing the culture-specific abbreviated names of the days of the week. [Edit]

Exceptions

TypeReason
ArgumentNullExceptionThe value specified for a set operation is a null reference. [Edit]
ArgumentExceptionThe value specified for a set operation is not an array with exactly 7 elements. [Edit]
InvalidOperationExceptionThe current instance is read-only and a set operation was attempted. [Edit]

Remarks

The array specified in a set operation is required to be one-dimensional and have exactly seven elements. The first element of the array is the abbreviated day name for Sunday, and the last element is the name for Saturday.

The property value of the culture invariant DateTimeFormatInfo.AbbreviatedDayNames is a string array that contains "Sun", "Mon", "Tue", "Wed", "Thu", "Fri" and "Sat".

[Edit]

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0