Class EKReminder

  • All Implemented Interfaces:
    NSObject

    public class EKReminder
    extends EKCalendarItem
    EKReminder The EKReminder class represents a reminder (task/todo).
    • Constructor Detail

      • EKReminder

        protected EKReminder​(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()
      • reminderWithEventStore

        public static EKReminder reminderWithEventStore​(EKEventStore eventStore)
        reminderWithEventStore: Creates a new reminder in the given event store.
      • 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()
      • completionDate

        public NSDate completionDate()
        [@property] completionDate The date on which this reminder was completed.
      • dueDateComponents

        public NSDateComponents dueDateComponents()
        [@property] dueDateComponents The date by which this reminder should be completed. The use of date components allows the due date and its time zone to be represented in a single property. A nil time zone represents a floating date. Setting a date component without a hour, minute and second component will set allDay to YES. If you set this property, the calendar must be set to NSCalendarIdentifierGregorian. An exception is raised otherwise. On iOS, if you set the due date for a reminder, you must also set a start date, otherwise you will receive an error (EKErrorNoStartDate) when attempting to save this reminder. This is not a requirement on OS X.
      • isCompleted

        public boolean isCompleted()
        [@property] completed Whether or not the reminder is completed. Setting it to YES will set the completed date to the current date. Setting it to NO will set the completed date to nil.
      • setCompleted

        public void setCompleted​(boolean value)
        [@property] completed Whether or not the reminder is completed. Setting it to YES will set the completed date to the current date. Setting it to NO will set the completed date to nil.
      • priority

        public long priority()
        [@property] priority The priority of the reminder. Priorities run from 1 (highest) to 9 (lowest). A priority of 0 means no priority. Saving a reminder with any other priority will fail. Per RFC 5545, priorities of 1-4 are considered "high," a priority of 5 is "medium," and priorities of 6-9 are "low."
      • setCompletionDate

        public void setCompletionDate​(NSDate value)
        [@property] completionDate The date on which this reminder was completed.
      • setDueDateComponents

        public void setDueDateComponents​(NSDateComponents value)
        [@property] dueDateComponents The date by which this reminder should be completed. The use of date components allows the due date and its time zone to be represented in a single property. A nil time zone represents a floating date. Setting a date component without a hour, minute and second component will set allDay to YES. If you set this property, the calendar must be set to NSCalendarIdentifierGregorian. An exception is raised otherwise. On iOS, if you set the due date for a reminder, you must also set a start date, otherwise you will receive an error (EKErrorNoStartDate) when attempting to save this reminder. This is not a requirement on OS X.
      • setPriority

        public void setPriority​(long value)
        [@property] priority The priority of the reminder. Priorities run from 1 (highest) to 9 (lowest). A priority of 0 means no priority. Saving a reminder with any other priority will fail. Per RFC 5545, priorities of 1-4 are considered "high," a priority of 5 is "medium," and priorities of 6-9 are "low."
      • setStartDateComponents

        public void setStartDateComponents​(NSDateComponents value)
        [@property] startDateComponents The start date of the task, as date components. The use of date components allows the start date and its time zone to be represented in a single property. A nil time zone represents a floating date. Setting a date component without a hour, minute and second component will set allDay to YES. If you set this property, the calendar must be set to NSCalendarIdentifierGregorian. An exception is raised otherwise.
      • startDateComponents

        public NSDateComponents startDateComponents()
        [@property] startDateComponents The start date of the task, as date components. The use of date components allows the start date and its time zone to be represented in a single property. A nil time zone represents a floating date. Setting a date component without a hour, minute and second component will set allDay to YES. If you set this property, the calendar must be set to NSCalendarIdentifierGregorian. An exception is raised otherwise.