@@ -16,10 +16,11 @@ #import "OFObject.h" #import "OFSerialization.h" @class OFString; +@class OFConstantString; /** * \brief A class for storing, accessing and comparing dates. */ @interface OFDate: OFObject @@ -239,24 +240,24 @@ /** * \brief Creates a string of the date with the specified format. * * See the manpage for strftime for information on the format. * - * \param fmt The format for the date string + * \param format The format for the date string * \return A new, autoreleased OFString */ -- (OFString*)dateStringWithFormat: (OFString*)fmt; +- (OFString*)dateStringWithFormat: (OFConstantString*)format; /** * \brief Creates a string of the local date with the specified format. * * See the manpage for strftime for information on the format. * - * \param fmt The format for the date string + * \param format The format for the date string * \return A new, autoreleased OFString */ -- (OFString*)localDateStringWithFormat: (OFString*)fmt; +- (OFString*)localDateStringWithFormat: (OFConstantString*)format; /** * \brief Returns the earlier of the two dates. * * \param date Another date