MBS Xojo Network Kit 1.0

EKRecurrenceEndMB class:

Class EKRecurrenceEndMB Inherits EKBaseObjectMB
ComputedProperty completionDate As Date
Sub Get()
The end date of this recurrence, or nil if it's count-based.
ComputedProperty occurrenceCount As integer
Sub Get()
The maximum occurrence count, or 0 if it's date-based.
Sub Constructor(Count as Integer)
Creates a recurrence end with a maximum occurrence count.
Sub Constructor(Handle as Integer, Retain as Boolean)
Create from Handle
Sub Constructor(EndDate as date)
Creates a recurrence end with a maximum occurrence count.
Function copy() As EKRecurrenceEndMB
Copy function for NSCopying protocol
Shared Function recurrenceEndWithEndDate(EndDate as date) As EKRecurrenceEndMB
Creates an autoreleased recurrence end with a specific end date.
Shared Function recurrenceEndWithOccurrenceCount(count as integer) As EKRecurrenceEndMB
Creates a recurrence end with a maximum occurrence count.
Note "About"
Class which represents when a recurrence should end. EKRecurrenceEnd is an attribute of EKRecurrenceRule that defines how long the recurrence is scheduled to repeat. The recurrence can be defined either with an Integer that indicates the total number times it repeats, or with an NSDate, after which it no longer repeats. An event which is set to never end should have its EKRecurrenceEnd set to nil. If the end of the pattern is defines with an Date, the client must pass a valid NSDate, nil cannot be passed. If the end of the pattern is defined as terms of a number of occurrences, the occurrenceCount passed to the initializer must be positive, it cannot be 0. If the client attempts to initialize a EKRecurrenceEnd with a nil Date or OccurrenceCount of 0, an exception is raised. A EKRecurrenceEnd initialized with an end date will return 0 for occurrenceCount. One initialized with a number of occurrences will return nil for its endDate.
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
The biggest plugin in space...

Start Chat