Class EKRecurrenceEnd

  • All Implemented Interfaces:
    NSCoding, NSCopying, NSSecureCoding, NSObject

    public class EKRecurrenceEnd
    extends NSObject
    implements NSCopying, NSSecureCoding
    EKRecurrenceEnd 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 NSUInteger 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 NSDate, 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 NSDate 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.
    • Constructor Detail

      • EKRecurrenceEnd

        protected EKRecurrenceEnd​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • recurrenceEndWithEndDate

        public static EKRecurrenceEnd recurrenceEndWithEndDate​(NSDate endDate)
        recurrenceEndWithEndDate: Creates an autoreleased recurrence end with a specific end date.
      • recurrenceEndWithOccurrenceCount

        public static EKRecurrenceEnd recurrenceEndWithOccurrenceCount​(long occurrenceCount)
        recurrenceEndWithOccurrenceCount: Creates an autoreleased recurrence end with a maximum occurrence count.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • endDate

        public NSDate endDate()
        [@property] endDate The end date of this recurrence, or nil if it's count-based.
      • occurrenceCount

        public long occurrenceCount()
        [@property] occurrenceCount The maximum occurrence count, or 0 if it's date-based.
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding