Edit

Share via


WKInterfaceDate.SetCalendar(NSCalendar) Method

Definition

Sets the calendar to be used for formatting date information.

[Foundation.Export("setCalendar:")]
public virtual void SetCalendar (Foundation.NSCalendar calendar);
abstract member SetCalendar : Foundation.NSCalendar -> unit
override this.SetCalendar : Foundation.NSCalendar -> unit

Parameters

calendar
NSCalendar

The calendar to use. If null, the user's default calendar is used.

This parameter can be null.

Attributes

Applies to