@@ -67,40 +67,55 @@ * \return An initialized OFDate with the specified date and time */ - initWithTimeIntervalSince1970: (time_t)sec microseconds: (suseconds_t)usec; +/** + * \return The microsecond of the date + */ +- (suseconds_t)microsecond; + /** * \return The seconds of the date */ -- (int)seconds; - -/** - * \return The microseconds of the date - */ -- (suseconds_t)microseconds; - -/** - * \return The minutes of the date - */ -- (int)minutes; - -/** - * \return The hours of the date - */ -- (int)hours; +- (int)second; + +/** + * \return The minute of the date + */ +- (int)minute; + +/** + * \return The hour of the date + */ +- (int)hour; + +/** + * \return The hour of the date in local time + */ +- (int)localHour; /** * \return The day of the month of the date */ - (int)dayOfMonth; +/** + * \return The day of the month of the date in local time + */ +- (int)localDayOfMonth; + /** * \return The month of the year of the date */ - (int)monthOfYear; +/** + * \return The month of the year of the date in local time + */ +- (int)localMonthOfYear; + /** * \return The year of the date */ - (int)year; @@ -107,20 +122,40 @@ /** * \return The day of the week of the date */ - (int)dayOfWeek; +/** + * \return The day of the week of the date in local time + */ +- (int)localDayOfWeek; + /** * \return The day of the year of the date */ - (int)dayOfYear; +/** + * \return The day of the year of the date in local time + */ +- (int)localDayOfYear; + /** * 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; +- (OFString*)dateStringWithFormat: (OFString*)fmt; + +/** + * 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 + * \return A new, autoreleased OFString + */ +- (OFString*)localDateStringWithFormat: (OFString*)fmt; @end