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 {