Xojo Conferences
XDCApr2018DenverUSA
MBSSep2018MunichEurope

MBS Xojo Network Kit 1.0

EKRecurrenceDayOfWeekMB class:

Class EKRecurrenceDayOfWeekMB Inherits EKBaseObjectMB
ComputedProperty dayOfTheWeek As integer
Sub Get()
The day of the week.
ComputedProperty weekNumber As integer
Sub Get()
The week number.
Sub Constructor(Handle as Integer, Retain as Boolean)
Create from Handle
Sub Constructor(dayOfWeek as Integer, weekNumber as Integer = 0)
Creates an object with a day of the week and week number.
Function copy() As EKRecurrenceDayOfWeekMB
Copy function for NSCopying protocol
Shared Function dayOfWeek(dayOfWeek as integer) As EKRecurrenceDayOfWeekMB
Creates an object with a day of the week and week number of zero.
Shared Function dayOfWeek(dayOfWeek as integer, weekNumber as Integer) As EKRecurrenceDayOfWeekMB
Creates an object with a day of the week and week number of zero.
Note "About"
Class which represents a day of the week this recurrence will occur. EKRecurrenceDayOfWeek specifies either a simple day of the week, or the nth instance of a particular day of the week, such as the third Tuesday of every month. The week number is only valid when used with monthly or yearly recurrences, since it would be otherwise meaningless. Valid values for dayOfTheWeek are integers 1-7, which correspond to days of the week with Sunday = 1. Valid values for weekNumber portion are (+/-)1-53, where a negative value indicates a value from the end of the range. For example, in a yearly event -1 means last week of the year. -1 in a Monthly recurrence indicates the last week of the month. The value 0 also indicates the weekNumber is irrelevant (every Sunday, etc.). Day-of-week weekNumber values that are out of bounds for the recurrence type will result in an exception when trying to initialize the recurrence. In particular, weekNumber must be zero when passing EKRecurrenceDayOfWeek objects to initialize a weekly recurrence.
Note "Copyright"
© 2015 by Christian Schmitz, Monkeybread Software This is part of the MBS Xojo Event Kit for iOS http://www.monkeybreadsoftware.de/xojo/
End Class




Links
MBS Xojo tutorial videos