QTimeString Class Reference
|
Constant | Value | Description |
---|---|---|
QTimeString::Short | 0 | Returns shortest possible string (mostly used on phones). |
QTimeString::Medium | 1 | Returns default length string. |
QTimeString::Long | 2 | Returns verbose string. |
Returns true if 12 hour time is preferred over 24 hour time; otherwise returns false.
Returns the date format used by QTimeString (e.g. D.M.Y) if set; otherwise returns an empty string.
In case no format is set the default format which is returned by QLocale::dateFormat() in QLocale::ShortFormat is used.
See also QTimeString::formatOptions().
Returns additional format options for a date string. The default format is the format of the current locale as returned by QLocale::dateFormat() in QLocale::ShortFormat.
See also QTimeString::currentFormat().
Returns a localized name of the week day on date in the given len.
Returns a localized string for hour, in 12 hour if QTimeString::currentAMPM() is true; otherwise in 24 hour format.
If hour is greater than 23 or less then 0 then hour will default to 0.
Returns a localized string for t in the given len, showing hours and minutes.
The format, including order depends on the user's settings.
Returns a localized string for t in the given len, showing hours, minutes, and day of the week.
The format, including order depends on the user's settings.
Returns a localized string for t in the given len, showing hours, minutes, and seconds.
The format, including order depends on the user's settings.
Returns a localized string for t in the given len, showing hours, minutes, seconds, and day of the week.
The format, including order depends on the user's settings.
Returns a localized string for dt in the given len, showing month and date.
The format, including the order of month and date depends on the user's current locale.
Returns a localized string for dt in the given len showing year, month, and date.
The format, including order depends on the user's settings.
Returns a localized string for dt in the given len, showing year, month, date, hours, minutes, and seconds.
The format, including order depends on the user's settings.
Returns the name of month in the given len.
Returns the name for the day of the week in the given len.
Returns a localized string for date showing day, month and year as a number in the given len.
The format, including order depends on the user's settings.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com