From eddb2147459fa6ee6d21ae59be2c93cdf6006b0a Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 2 Nov 2006 21:56:36 +0000 Subject: [PATCH] Monotone-Parent: eda3ab4e2177bece56e75f59df9d87e4eb54c8fe Monotone-Revision: 7a39b60dcc50b68ac652f2a1dfc5075bb3082288 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-02T21:56:36 Monotone-Branch: ca.inverse.sogo --- UI/SOGoUI/SOGoDateFormatter.h | 8 +++++++- UI/SOGoUI/SOGoDateFormatter.m | 10 ---------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/UI/SOGoUI/SOGoDateFormatter.h b/UI/SOGoUI/SOGoDateFormatter.h index e63df91aa..4d460294d 100644 --- a/UI/SOGoUI/SOGoDateFormatter.h +++ b/UI/SOGoUI/SOGoDateFormatter.h @@ -24,7 +24,7 @@ #import -@class NSString, NSDictionary; +@class NSString, NSCalendarDate, NSDictionary; @interface SOGoDateFormatter : NSFormatter { @@ -43,6 +43,12 @@ - (NSString *)stringForObjectValue:(id)_obj; - (NSString *)shortDayOfWeek:(int)_day; +- (NSString *)fullDayOfWeek:(int)_day; +- (NSString *)shortMonthOfYear:(int)_month; +- (NSString *)fullMonthOfYear:(int)_month; + +- (NSString *)isoDateFormatForDate:(NSCalendarDate *)_date; +- (NSString *)fullWeekdayNameAndDetailsForDate:(NSCalendarDate *)_date; @end diff --git a/UI/SOGoUI/SOGoDateFormatter.m b/UI/SOGoUI/SOGoDateFormatter.m index 331243426..c64aca820 100644 --- a/UI/SOGoUI/SOGoDateFormatter.m +++ b/UI/SOGoUI/SOGoDateFormatter.m @@ -22,16 +22,6 @@ #include "SOGoDateFormatter.h" #include "common.h" -@interface SOGoDateFormatter (PrivateAPI) -- (NSString *)shortDayOfWeek:(int)_day; -- (NSString *)fullDayOfWeek:(int)_day; -- (NSString *)shortMonthOfYear:(int)_month; -- (NSString *)fullMonthOfYear:(int)_month; - -- (NSString *)isoDateFormatForDate:(NSCalendarDate *)_date; -- (NSString *)fullWeekdayNameAndDetailsForDate:(NSCalendarDate *)_date; -@end - @implementation SOGoDateFormatter - (id)initWithLocale:(NSDictionary *)_locale {