Fix a bit of copy pasta in the locale docs

This commit is contained in:
John Scipione 2014-12-04 19:23:47 -05:00
parent 4a31c32620
commit 9bd3dedfce
3 changed files with 13 additions and 12 deletions

View File

@ -112,8 +112,8 @@
\fn status_t BDateFormat::Format(BString& string,
int*& fieldPositions, int& fieldCount, const time_t time,
const BDateFormatStyle style) const
\brief Fills in \a string with a formatted date for the given
\a time and \a style for the locale.
\brief Fills in \a string with a custom formatted date according to the
given parameters for the locale.
\param string The string buffer to fill with the formatted date.
\param fieldPositions An array of date field positions to use.

View File

@ -7,16 +7,16 @@
* John Scipione, jscipione@gmail.com
*
* Corresponds to:
* headers/os/locale/DateFormat.h hrev48439
* src/kits/locale/DateFormat.cpp hrev48439
* headers/os/locale/DateTimeFormat.h hrev48439
* src/kits/locale/DateTimeFormat.cpp hrev48439
*/
/*!
\file DateFormat.h
\file DateTimeFormat.h
\ingroup locale
\ingroup libbe
\brief Contains BDateTimeFormat class, a date formatter.
\brief Contains BDateTimeFormat class, a datetime formatter.
*/
@ -24,7 +24,7 @@
\class BDateTimeFormat
\ingroup locale
\ingroup libbe
\brief Formatter for dates.
\brief Formatter for datetimes.
\since Haiku R1
*/

View File

@ -13,10 +13,10 @@
/*!
\file DateFormat.h
\file TimeFormat.h
\ingroup locale
\ingroup libbe
\brief Contains BTimeFormat class, a date formatter.
\brief Contains BTimeFormat class, a time formatter.
*/
@ -24,7 +24,7 @@
\class BTimeFormat
\ingroup locale
\ingroup libbe
\brief Formatter for dates.
\brief Formatter for times.
\since Haiku R1
*/
@ -67,7 +67,7 @@
/*!
\fn ssize_t BTimeFormat::Format(char* string, size_t maxSize, time_t time,
BTimeFormatStyle style) const
\brief Fills in \a string with a formatted date up to \a maxSize bytes for
\brief Fills in \a string with a formatted time up to \a maxSize bytes for
the given \a time and \a style for the locale.
\param string The string buffer to fill with the formatted time.
@ -135,7 +135,8 @@
\fn status_t BTimeFormat::Format(BString& string,
int*& fieldPositions, int& fieldCount,
time_t time, BTimeFormatStyle style) const
\brief Fills in \a string with a formatted time for the given parameters.
\brief Fills in \a string with a custom formatted time according to the
given parameters for the locale.
\param string The string buffer to fill with the formatted date.
\param fieldPositions An array of date field positions to use.