mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-18 17:58:12 +00:00
Monotone-Parent: 3757df8ac9e5d424ceeb411dc2dba958b01a28bb
Monotone-Revision: 25201eca7a2d2327ce725455760027b032810d78 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-19T14:38:25 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
ee39aab212
commit
b790b4778e
3 files changed
+65
-24
No files matched your search
@@ -44,6 +44,7 @@
|
||||
unsigned int endHour;
|
||||
NSNumber *currentHour;
|
||||
NSNumber *currentMinute;
|
||||
BOOL isDisabled;
|
||||
}
|
||||
|
||||
- (void) setDayStartHour: (unsigned int) hour;
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
self = [super init];
|
||||
if (self) {
|
||||
displayTimeControl = YES;
|
||||
isDisabled = NO;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
@@ -257,7 +258,7 @@
|
||||
_hour = [[self hour] intValue];
|
||||
_minute = [[self minute] intValue];
|
||||
_second = [[self second] intValue];
|
||||
|
||||
|
||||
d = [NSCalendarDate dateWithYear: _year month:_month day:_day
|
||||
hour:_hour minute:_minute second:_second
|
||||
timeZone: [[self clientObject] userTimeZone]];
|
||||
@@ -265,4 +266,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (void) setDisabled: (BOOL) disabled
|
||||
{
|
||||
isDisabled = disabled;
|
||||
}
|
||||
|
||||
- (BOOL) disabled
|
||||
{
|
||||
return isDisabled;
|
||||
}
|
||||
|
||||
@end /* UIxTimeDateControl */
|
||||
Reference in new issue
Block a user