@@ -10,10 +10,12 @@ */ #include #import "OFObject.h" + +@class OFString; #ifdef __MINGW32__ /* * They think they don't need suseconds_t and can use long instead in * struct timeval... POSIX demands suseconds_t, of course. @@ -109,6 +111,16 @@ /** * \return The day of the year of the date */ - (int)dayOfYear; + +/** + * 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 + * \return A new, autoreleased OFString + */ +- (OFString*)stringWithFormat: (OFString*)fmt; @end