mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-19 02:15:36 +00:00
@@ -64,6 +64,7 @@
|
||||
|
||||
@implementation UIxComponent
|
||||
|
||||
static NSMutableArray *amPmLabelKeys = nil;
|
||||
static NSMutableArray *dayLabelKeys = nil;
|
||||
static NSMutableArray *abbrDayLabelKeys = nil;
|
||||
static NSMutableArray *monthLabelKeys = nil;
|
||||
@@ -72,6 +73,10 @@ static SoProduct *commonProduct = nil;
|
||||
|
||||
+ (void)initialize {
|
||||
if (dayLabelKeys == nil) {
|
||||
amPmLabelKeys = [[NSMutableArray alloc] initWithCapacity:2];
|
||||
[amPmLabelKeys addObject:@"AM"];
|
||||
[amPmLabelKeys addObject:@"PM"];
|
||||
|
||||
dayLabelKeys = [[NSMutableArray alloc] initWithCapacity:7];
|
||||
[dayLabelKeys addObject:@"Sunday"];
|
||||
[dayLabelKeys addObject:@"Monday"];
|
||||
@@ -124,6 +129,11 @@ static SoProduct *commonProduct = nil;
|
||||
}
|
||||
}
|
||||
|
||||
+ (NSArray *) amPmLabelKeys
|
||||
{
|
||||
return (NSArray *) amPmLabelKeys;
|
||||
}
|
||||
|
||||
+ (NSArray *) abbrDayLabelKeys
|
||||
{
|
||||
return (NSArray *) abbrDayLabelKeys;
|
||||
|
||||
Reference in New Issue
Block a user