(cabdea9665772f9f4148f4ce60fb128db2737c6e)
#include "qlocale_p.h"
#include "qstringlist.h"
#include "qvariant.h"
#include "qdatetime.h"
#include "private/qstringiterator_p.h"
#include "private/qgregoriancalendar_p.h"
#include <QtCore/qloggingcategory.h>
#include <QtCore/qcoreapplication.h>
Go to the source code of this file.
|
static void | printLocalizationInformation () |
|
| Q_COREAPP_STARTUP_FUNCTION (printLocalizationInformation) |
|
static QString | getMacLocaleName () |
|
static QVariant | macMonthName (int month, QSystemLocale::QueryType type) |
|
static QVariant | macDayName (int day, QSystemLocale::QueryType type) |
|
static QString | macZeroDigit () |
|
static QString | zeroPad (QString &&number, qsizetype minDigits, const QString &zero) |
|
static QString | trimTwoDigits (QString &&number) |
|
static QString | fourDigitYear (int year, const QString &zero) |
|
static QString | macDateToStringImpl (QDate date, CFDateFormatterStyle style) |
|
static QVariant | macDateToString (QDate date, bool short_format) |
|
static QVariant | macTimeToString (QTime time, bool short_format) |
|
static QVariant | macToQtFormat (QStringView sys_fmt) |
|
static QVariant | getGroupingSizes () |
|
static QVariant | getMacDateFormat (CFDateFormatterStyle style) |
|
static QVariant | getMacTimeFormat (CFDateFormatterStyle style) |
|
static QVariant | getCFLocaleValue (CFStringRef key) |
|
static QVariant | macMeasurementSystem () |
|
static quint8 | macFirstDayOfWeek () |
|
static QVariant | macCurrencySymbol (QLocale::CurrencySymbolFormat format) |
|
static QVariant | macFormatCurrency (const QSystemLocale::CurrencyToStringArgument &arg) |
|
static QVariant | macQuoteString (QSystemLocale::QueryType type, QStringView str) |
|
template<auto CodeToValueFunction> |
static QVariant | getLocaleValue (CFStringRef key) |
|
static QLocale::Language | codeToLanguage (QStringView s) |
|
static QString | localeConvertString (const QByteArray &localeID, const QString &str, bool *ok, bool toLowerCase) |
|
◆ codeToLanguage()
◆ fourDigitYear()
◆ getCFLocaleValue()
static QVariant getCFLocaleValue |
( |
CFStringRef | key | ) |
|
|
static |
◆ getGroupingSizes()
◆ getLocaleValue()
template<auto CodeToValueFunction>
static QVariant getLocaleValue |
( |
CFStringRef | key | ) |
|
|
static |
◆ getMacDateFormat()
static QVariant getMacDateFormat |
( |
CFDateFormatterStyle | style | ) |
|
|
static |
◆ getMacLocaleName()
static QString getMacLocaleName |
( |
| ) |
|
|
static |
◆ getMacTimeFormat()
static QVariant getMacTimeFormat |
( |
CFDateFormatterStyle | style | ) |
|
|
static |
◆ localeConvertString()
◆ macCurrencySymbol()
◆ macDateToString()
static QVariant macDateToString |
( |
QDate | date, |
|
|
bool | short_format ) |
|
static |
◆ macDateToStringImpl()
static QString macDateToStringImpl |
( |
QDate | date, |
|
|
CFDateFormatterStyle | style ) |
|
static |
◆ macDayName()
◆ macFirstDayOfWeek()
static quint8 macFirstDayOfWeek |
( |
| ) |
|
|
static |
◆ macFormatCurrency()
◆ macMeasurementSystem()
static QVariant macMeasurementSystem |
( |
| ) |
|
|
static |
◆ macMonthName()
◆ macQuoteString()
◆ macTimeToString()
static QVariant macTimeToString |
( |
QTime | time, |
|
|
bool | short_format ) |
|
static |
◆ macToQtFormat()
◆ macZeroDigit()
◆ printLocalizationInformation()
static void printLocalizationInformation |
( |
| ) |
|
|
static |
◆ Q_COREAPP_STARTUP_FUNCTION()
◆ trimTwoDigits()
◆ zeroPad()