Class: EKRecurrenceDayOfWeek
Overview
The EKRecurrenceDayOfWeek class represents a day of the week for use with an EKRecurrenceRule object. A day of the week can optionally have a week number, indicating a specific day in the recurrence rule’s frequency. For example, a day of the week with a day value of Tuesday and a week number of 2 would represent the second Tuesday of every month in a monthly recurrence rule, and the second Tuesday of every year in a yearly recurrence rule. A day of the week with a week number of 0 ignores its week number.
Instance Attribute Summary (collapse)
-
- dayOfTheWeek
readonly
The day of the week.
-
- weekNumber
readonly
The week number of the day of the week.
Class Method Summary (collapse)
-
+ dayOfWeek:
Creates and returns a day of the week with a given day.
-
+ dayOfWeek:weekNumber:
Creates and returns an autoreleased day of the week with a given day and week number.
Instance Method Summary (collapse)
-
- initWithDayOfTheWeek:weekNumber:
Initializes and returns a day of the week with a given day and week number.
Methods inherited from NSObject
#!, #!=, #!~, #, #==, #===, #=~, #Rational, #__callee__, #__method__, #__send__, #__type__, `, alloc, allocWithZone:, #autoContentAccessingProxy, autoload, autoload?, autorelease_pool, #awakeAfterUsingCoder:, binding, block_given?, caller, cancelPreviousPerformRequestsWithTarget:, cancelPreviousPerformRequestsWithTarget:selector:object:, catch, class, classFallbacksForKeyedArchiver, #classForCoder, #classForKeyedArchiver, classForKeyedUnarchiver, #clone, conformsToProtocol:, #copy, copyWithZone:, #dealloc, #define_singleton_method, description, display, #doesNotRecognizeSelector:, #dup, #enum_for, #eql?, #equal?, #extend, fail, #finalize, format, #forwardInvocation:, #forwardingTargetForSelector:, framework, #freeze, #frozen?, getpass, gets, global_variables, #init, initialize, #initialize_clone, #initialize_copy, #initialize_dup, #inspect, instanceMethodForSelector:, instanceMethodSignatureForSelector:, #instance_eval, #instance_exec, #instance_of?, #instance_variable_defined?, #instance_variable_get, #instance_variable_set, #instance_variables, instancesRespondToSelector:, isSubclassOfClass:, #is_a?, iterator?, #kind_of?, lambda, load, load_bridge_support_file, load_plist, local_variables, loop, #method, #methodForSelector:, #methodSignatureForSelector:, #methods, #mutableCopy, mutableCopyWithZone:, new, #nil?, open, p, #performSelector:onThread:withObject:waitUntilDone:, #performSelector:onThread:withObject:waitUntilDone:modes:, #performSelector:withObject:afterDelay:, #performSelector:withObject:afterDelay:inModes:, #performSelectorInBackground:withObject:, #performSelectorOnMainThread:withObject:waitUntilDone:, #performSelectorOnMainThread:withObject:waitUntilDone:modes:, print, printf, #private_methods, proc, #protected_methods, #public_method, #public_methods, #public_send, putc, puts, raise, rand, readline, readlines, #replacementObjectForCoder:, #replacementObjectForKeyedArchiver:, require, resolveClassMethod:, resolveInstanceMethod:, #respond_to?, #respond_to_missing?, select, #send, setVersion:, #singleton_methods, sprintf, srand, superclass, #taint, #tainted?, #tap, test, throw, #to_plist, #to_s, trace_var, trap, #trust, #untaint, untrace_var, #untrust, #untrusted?, version
Constructor Details
This class inherits a constructor from NSObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class NSObject
Instance Attribute Details
- (Integer) dayOfTheWeek (readonly)
The day of the week. (read-only) Values are from 1 to 7, with Sunday being 1.
- (Integer) weekNumber (readonly)
The week number of the day of the week. (read-only) Values range from –53 to 53. A negative value indicates a value from the end of the range. 0 indicates the week number is irrelevant.
Class Method Details
+ (Object) dayOfWeek(dayOfTheWeek)
Creates and returns a day of the week with a given day. The week number of the returned day of the week is 0.
+ (Object) dayOfWeek(dayOfTheWeek, weekNumber:weekNumber)
Creates and returns an autoreleased day of the week with a given day and week number.
Instance Method Details
- (Object) initWithDayOfTheWeek(dayOfTheWeek, weekNumber:weekNumber)
Initializes and returns a day of the week with a given day and week number.