@@ -58,11 +58,14 @@ * * The time zone used is UTC. If a time zone is specified anyway, an * OFInvalidFormatException is thrown. See +[dateWithLocalDateString:format:] * if you want to specify a time zone. * - * See the manpage for strptime for information on the format. + * See the manpage for strftime for information on the format. + * + * WARNING: The format is currently limited to the following format specifiers: + * %d, %e, %H, %m, %M, %S, %y, %Y, %%, %n and %t. * * \param string The string describing the date * \param format The format of the string describing the date * \return A new, autoreleased OFDate with the specified date and time */ @@ -73,11 +76,14 @@ * \brief Creates a new OFDate with the specified string in the specified * format. * * If no time zone is specified, local time is assumed. * - * See the manpage for strptime for information on the format. + * See the manpage for strftime for information on the format. + * + * WARNING: The format is currently limited to the following format specifiers: + * %d, %e, %H, %m, %M, %S, %y, %Y, %%, %n and %t. * * \param string The string describing the date * \param format The format of the string describing the date * \return A new, autoreleased OFDate with the specified date and time */ @@ -126,11 +132,14 @@ * * The time zone used is UTC. If a time zone is specified anyway, an * OFInvalidFormatException is thrown. See -[initWithLocalDateString:format:] * if you want to specify a time zone. * - * See the manpage for strptime for information on the format. + * See the manpage for strftime for information on the format. + * + * WARNING: The format is currently limited to the following format specifiers: + * %d, %e, %H, %m, %M, %S, %y, %Y, %%, %n and %t. * * \param string The string describing the date * \param format The format of the string describing the date * \return An initialized OFDate with the specified date and time */ @@ -141,11 +150,14 @@ * \brief Initializes an already allocated OFDate with the specified string in * the specified format. * * If no time zone is specified, local time is assumed. * - * See the manpage for strptime for information on the format. + * See the manpage for strftime for information on the format. + * + * WARNING: The format is currently limited to the following format specifiers: + * %d, %e, %H, %m, %M, %S, %y, %Y, %%, %n and %t. * * \param string The string describing the date * \param format The format of the string describing the date * \return An initialized OFDate with the specified date and time */