};
objectVersion = 39;
objects = {
+ AD06608A06AC2F3F006525C9 = {
+ children = (
+ AD06608B06AC2F3F006525C9,
+ AD06608C06AC2F4A006525C9,
+ );
+ isa = PBXVariantGroup;
+ name = Locale;
+ path = "";
+ refType = 4;
+ sourceTree = "<group>";
+ };
+ AD06608B06AC2F3F006525C9 = {
+ fileEncoding = 4;
+ isa = PBXFileReference;
+ lastKnownFileType = text;
+ name = English;
+ path = English.lproj/Locale;
+ refType = 4;
+ sourceTree = "<group>";
+ };
+ AD06608C06AC2F4A006525C9 = {
+ isa = PBXFileReference;
+ lastKnownFileType = text;
+ name = French;
+ path = French.lproj/Locale;
+ refType = 4;
+ sourceTree = "<group>";
+ };
AD152B6F06AC159A002375D2 = {
fileEncoding = 4;
isa = PBXFileReference;
path = ChangeLog;
refType = 4;
sourceTree = "<group>";
+ tabWidth = 4;
+ usesTabs = 1;
};
AD6BCF0E069D77E9003664CD = {
fileEncoding = 4;
AD152B6F06AC159A002375D2,
E87205F30692E3D00099CBBD,
E87205D70692E3D00099CBBD,
+ AD06608A06AC2F3F006525C9,
E87205CE0692E3D00099CBBD,
E87205DF0692E3D00099CBBD,
E87205E00692E3D00099CBBD,
path = sogod.m;
refType = 4;
sourceTree = "<group>";
+ usesTabs = 0;
};
E87205ED0692E3D00099CBBD = {
fileEncoding = 4;
path = ChangeLog;
refType = 4;
sourceTree = "<group>";
+ tabWidth = 4;
+ usesTabs = 1;
};
E87208900692E3D30099CBBD = {
fileEncoding = 4;
/* date selection */
- (NSTimeZone *)viewTimeZone;
+- (NSTimeZone *)backendTimeZone;
- (NSCalendarDate *)selectedDate;
- (NSString *)dateStringForDate:(NSCalendarDate *)_date;
- (NSCalendarDate *)dateForDateString:(NSString *)_dateString;
@implementation UIxComponent
static NSTimeZone *MET = nil;
+static NSTimeZone *GMT = nil;
+ (void)initialize {
- if (MET == nil) MET = [[NSTimeZone timeZoneWithAbbreviation:@"MET"] retain];
+ if (MET == nil) {
+ MET = [[NSTimeZone timeZoneWithAbbreviation:@"MET"] retain];
+ GMT = [[NSTimeZone timeZoneWithAbbreviation:@"GMT"] retain];
+ }
}
- (id)init {
return MET;
}
+- (NSTimeZone *)backendTimeZone {
+ return GMT;
+}
+
- (NSCalendarDate *)selectedDate {
NSString *s;
NSCalendarDate *cdate;
@implementation UIxAppointmentEditor
-static NSTimeZone *GMT = nil;
-
-+ (void)initialize {
- if (GMT == nil)
- GMT = [[NSTimeZone timeZoneWithAbbreviation:@"GMT"] retain];
-}
-
- (void)dealloc {
[self->appointment release];
[self->participants release];
date = [NSCalendarDate dateWithString:_str
calendarFormat:@"%Y-%m-%d %H:%M %Z"];
- [date setTimeZone:GMT];
+ [date setTimeZone:[self backendTimeZone]];
return date;
}