TtsSpan.DateBuilder.SetWeekday(DayOfWeek) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the weekday argument for the date span.
[Android.Runtime.Register("setWeekday", "(I)Landroid/text/style/TtsSpan$DateBuilder;", "GetSetWeekday_IHandler")]
public virtual Android.Text.Style.TtsSpan.DateBuilder? SetWeekday(Android.Text.Format.DayOfWeek weekday);
[<Android.Runtime.Register("setWeekday", "(I)Landroid/text/style/TtsSpan$DateBuilder;", "GetSetWeekday_IHandler")>]
abstract member SetWeekday : Android.Text.Format.DayOfWeek -> Android.Text.Style.TtsSpan.DateBuilder
override this.SetWeekday : Android.Text.Format.DayOfWeek -> Android.Text.Style.TtsSpan.DateBuilder
Parameters
- weekday
- DayOfWeek
The weekday value to store. Android expects Sunday = 1 through Saturday = 7.
Returns
This instance.
- Attributes
Remarks
The binding passes the numeric value unchanged. The weekday members of DayOfWeek use Sunday = 0 through Saturday = 6 and do not match the values expected here. Cast a TtsSpanWeekday value to DayOfWeek to pass the expected value.
Android reference for android.text.style.TtsSpan.DateBuilder.setWeekday.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.