|
|
|
@ -223,8 +223,8 @@ namespace KMime {
|
|
|
|
|
* set format.
|
|
|
|
|
* @param otime time to format
|
|
|
|
|
* @param lang used <em>only</em> by the Localized format, sets the used language
|
|
|
|
|
* @param shortFormat used <em>only</em> by the Localized format, is passed to KLocale::formatDateTime
|
|
|
|
|
* @param includeSecs used <em>only</em> by the Localized format, is passed to KLocale::formatDateTime
|
|
|
|
|
* @param shortFormat used <em>only</em> by the Localized format, is passed to TDELocale::formatDateTime
|
|
|
|
|
* @param includeSecs used <em>only</em> by the Localized format, is passed to TDELocale::formatDateTime
|
|
|
|
|
*/
|
|
|
|
|
TQString dateString(time_t otime, const TQString& lang = TQString(),
|
|
|
|
|
bool shortFormat = true, bool includeSecs=false) const;
|
|
|
|
@ -263,8 +263,8 @@ namespace KMime {
|
|
|
|
|
* @param time time to format
|
|
|
|
|
* @param data is either the format when FormatType is Custom, or language
|
|
|
|
|
* when FormatType is Localized
|
|
|
|
|
* @param shortFormat used <em>only</em> by the Localized format, is passed to KLocale::formatDateTime
|
|
|
|
|
* @param includeSecs used <em>only</em> by the Localized format, is passed to KLocale::formatDateTime
|
|
|
|
|
* @param shortFormat used <em>only</em> by the Localized format, is passed to TDELocale::formatDateTime
|
|
|
|
|
* @param includeSecs used <em>only</em> by the Localized format, is passed to TDELocale::formatDateTime
|
|
|
|
|
*/
|
|
|
|
|
static TQString formatDate( DateFormatter::FormatType t, time_t time,
|
|
|
|
|
const TQString& data = TQString(),
|
|
|
|
@ -275,8 +275,8 @@ namespace KMime {
|
|
|
|
|
* @param t specifies the FormatType to use
|
|
|
|
|
* @param data is either the format when FormatType is Custom, or language
|
|
|
|
|
* when FormatType is Localized
|
|
|
|
|
* @param shortFormat used <em>only</em> by the Localized format, is passed to KLocale::formatDateTime
|
|
|
|
|
* @param includeSecs used <em>only</em> by the Localized format, is passed to KLocale::formatDateTime
|
|
|
|
|
* @param shortFormat used <em>only</em> by the Localized format, is passed to TDELocale::formatDateTime
|
|
|
|
|
* @param includeSecs used <em>only</em> by the Localized format, is passed to TDELocale::formatDateTime
|
|
|
|
|
*/
|
|
|
|
|
static TQString formatCurrentDate( DateFormatter::FormatType t,
|
|
|
|
|
const TQString& data = TQString(),
|
|
|
|
|