Fix a bit of copy pasta in the locale docs
This commit is contained in:
@@ -112,8 +112,8 @@
|
|||||||
\fn status_t BDateFormat::Format(BString& string,
|
\fn status_t BDateFormat::Format(BString& string,
|
||||||
int*& fieldPositions, int& fieldCount, const time_t time,
|
int*& fieldPositions, int& fieldCount, const time_t time,
|
||||||
const BDateFormatStyle style) const
|
const BDateFormatStyle style) const
|
||||||
\brief Fills in \a string with a formatted date for the given
|
\brief Fills in \a string with a custom formatted date according to the
|
||||||
\a time and \a style for the locale.
|
given parameters for the locale.
|
||||||
|
|
||||||
\param string The string buffer to fill with the formatted date.
|
\param string The string buffer to fill with the formatted date.
|
||||||
\param fieldPositions An array of date field positions to use.
|
\param fieldPositions An array of date field positions to use.
|
||||||
|
|||||||
@@ -7,16 +7,16 @@
|
|||||||
* John Scipione, [email protected]
|
* John Scipione, [email protected]
|
||||||
*
|
*
|
||||||
* Corresponds to:
|
* Corresponds to:
|
||||||
* headers/os/locale/DateFormat.h hrev48439
|
* headers/os/locale/DateTimeFormat.h hrev48439
|
||||||
* src/kits/locale/DateFormat.cpp hrev48439
|
* src/kits/locale/DateTimeFormat.cpp hrev48439
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file DateFormat.h
|
\file DateTimeFormat.h
|
||||||
\ingroup locale
|
\ingroup locale
|
||||||
\ingroup libbe
|
\ingroup libbe
|
||||||
\brief Contains BDateTimeFormat class, a date formatter.
|
\brief Contains BDateTimeFormat class, a datetime formatter.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
\class BDateTimeFormat
|
\class BDateTimeFormat
|
||||||
\ingroup locale
|
\ingroup locale
|
||||||
\ingroup libbe
|
\ingroup libbe
|
||||||
\brief Formatter for dates.
|
\brief Formatter for datetimes.
|
||||||
|
|
||||||
\since Haiku R1
|
\since Haiku R1
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -13,10 +13,10 @@
|
|||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\file DateFormat.h
|
\file TimeFormat.h
|
||||||
\ingroup locale
|
\ingroup locale
|
||||||
\ingroup libbe
|
\ingroup libbe
|
||||||
\brief Contains BTimeFormat class, a date formatter.
|
\brief Contains BTimeFormat class, a time formatter.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
\class BTimeFormat
|
\class BTimeFormat
|
||||||
\ingroup locale
|
\ingroup locale
|
||||||
\ingroup libbe
|
\ingroup libbe
|
||||||
\brief Formatter for dates.
|
\brief Formatter for times.
|
||||||
|
|
||||||
\since Haiku R1
|
\since Haiku R1
|
||||||
*/
|
*/
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
/*!
|
/*!
|
||||||
\fn ssize_t BTimeFormat::Format(char* string, size_t maxSize, time_t time,
|
\fn ssize_t BTimeFormat::Format(char* string, size_t maxSize, time_t time,
|
||||||
BTimeFormatStyle style) const
|
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.
|
the given \a time and \a style for the locale.
|
||||||
|
|
||||||
\param string The string buffer to fill with the formatted time.
|
\param string The string buffer to fill with the formatted time.
|
||||||
@@ -135,7 +135,8 @@
|
|||||||
\fn status_t BTimeFormat::Format(BString& string,
|
\fn status_t BTimeFormat::Format(BString& string,
|
||||||
int*& fieldPositions, int& fieldCount,
|
int*& fieldPositions, int& fieldCount,
|
||||||
time_t time, BTimeFormatStyle style) const
|
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 string The string buffer to fill with the formatted date.
|
||||||
\param fieldPositions An array of date field positions to use.
|
\param fieldPositions An array of date field positions to use.
|
||||||
|
|||||||
Reference in New Issue
Block a user