(fix) Syntax of word "occurrence"

pull/91/head
Francis Lachapelle 2015-05-20 09:38:30 -04:00
parent e4e5106f97
commit 3350e2fa12
3 changed files with 7 additions and 7 deletions

View File

@ -53,8 +53,8 @@ typedef iCalWeekOccurrence iCalWeekOccurrences[7];
- (id) initWithDays: (iCalWeekOccurrences) theDays;
+ (id) byDayMaskWithRuleString: (NSString *) byDayRule;
- (id) initWithRuleString: (NSString *) byDayRule;
+ (id) byDayMaskWithDaysAndOccurences: (NSArray *) values;
- (id) initWithDaysAndOccurences: (NSArray *) values;
+ (id) byDayMaskWithDaysAndOccurrences: (NSArray *) values;
- (id) initWithDaysAndOccurrences: (NSArray *) values;
- (BOOL) occursOnDay: (iCalWeekDay) weekDay;
- (BOOL) occursOnDay: (iCalWeekDay) weekDay

View File

@ -190,17 +190,17 @@
return self;
}
+ (id) byDayMaskWithDaysAndOccurences: (NSArray *) values
+ (id) byDayMaskWithDaysAndOccurrences: (NSArray *) values
{
id o;
o = [[self alloc] initWithDaysAndOccurences: values];
o = [[self alloc] initWithDaysAndOccurrences: values];
AUTORELEASE(o);
return o;
}
- (id) initWithDaysAndOccurences: (NSArray *) values
- (id) initWithDaysAndOccurrences: (NSArray *) values
{
unsigned int count, max;
NSString *value;
@ -258,7 +258,7 @@
if (day != iCalWeekDayUnknown)
{
value = [mask objectForKey: @"occurence"];
value = [mask objectForKey: @"occurrence"];
valueLength = [value length];
if (valueLength > 0)
{

View File

@ -197,7 +197,7 @@
o = [repeat objectForKey: @"days"];
if ([o isKindOfClass: [NSArray class]])
[rule setByDayMask: [iCalByDayMask byDayMaskWithDaysAndOccurences: o]];
[rule setByDayMask: [iCalByDayMask byDayMaskWithDaysAndOccurrences: o]];
o = [repeat objectForKey: @"monthdays"];
if ([o isKindOfClass: [NSArray class]])