Android.Text.Format.DateUtils.GetDayOfWeekString Method
Return a string for the day of the week.

Syntax

[Android.Runtime.Register("getDayOfWeekString", "(II)Ljava/lang/String;", "")]
[System.Obsolete("deprecated")]
public static string GetDayOfWeekString (int dayOfWeek, [Android.Runtime.GeneratedEnum] AbbreviationLength abbrev)

Parameters

dayOfWeek
One of Java.Util.Calendar.Sunday, Java.Util.Calendar.Monday, etc.
abbrev
One of DateUtils.LENGTH_LONG, DateUtils.LENGTH_SHORT, DateUtils.LENGTH_MEDIUM, or DateUtils.LENGTH_SHORTEST. Note that in most languages, DateUtils.LENGTH_SHORT will return the same as DateUtils.LENGTH_MEDIUM. Undefined lengths will return DateUtils.LENGTH_MEDIUM but may return something different in the future.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif the dayOfWeek is out of bounds.

Remarks

Return a string for the day of the week.

[Android Documentation]

Requirements

Namespace: Android.Text.Format
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3