![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
A toolset for parsing time zone identification strings. More...
Classes | |
| class | ParsedZone |
| Describes a text fragment representing a timezone. More... | |
Functions | |
| QList< ParsedZone > | prefix (QStringView text, const QLocale &locale, qsizetype from, QtTemporalPattern::TemporalFieldFlags flags) |
Variables | |
| constexpr QtTemporalPattern::TemporalFieldFlags | AnyOffsetForm |
| constexpr QtTemporalPattern::TemporalFieldFlags | AnyGlobalZoneName |
| constexpr QtTemporalPattern::TemporalFieldFlags | AnyZoneName |
| constexpr QtTemporalPattern::TemporalFieldFlags | BasicColonDigitOffset |
| constexpr QtTemporalPattern::TemporalFieldFlags | BasicDigitOnlyOffset |
| constexpr QtTemporalPattern::TemporalFieldFlags | AllLegacyForm |
| constexpr QtTemporalPattern::TemporalFieldFlags | AnyGlobalZoneForm |
| constexpr QtTemporalPattern::TemporalFieldFlags | AnyZoneForm |
A toolset for parsing time zone identification strings.
A time zone may be identified by an offset from UTC or, in various ways, by a name. This namespace provides a \l {QtParseTimeZone::}{prefix()} function to parse an initial portion of a string as such an identifier, controlled by configuration options provided by \l {QtTemporalPattern::TemporalFieldFlags}, along with several combinations of those options that select particular commonly-used choices.
The constants are of type \l {QtTemporalPattern::TemporalFieldFlags}: \list
\endlist
| Q_AUTOTEST_EXPORT QList< ParsedZone > QtParseTimeZone::prefix | ( | QStringView | text, |
| const QLocale & | locale, | ||
| qsizetype | from, | ||
| QtTemporalPattern::TemporalFieldFlags | flags ) |
The acceptable forms of a timezone text are controlled by flags.
Definition at line 399 of file qtparsetimezone.cpp.
|
constexpr |
Definition at line 53 of file qtparsetimezone_p.h.
|
constexpr |
Definition at line 57 of file qtparsetimezone_p.h.
|
constexpr |
Definition at line 37 of file qtparsetimezone_p.h.
|
constexpr |
Definition at line 35 of file qtparsetimezone_p.h.
|
constexpr |
Definition at line 59 of file qtparsetimezone_p.h.
|
constexpr |
Definition at line 42 of file qtparsetimezone_p.h.
|
constexpr |
Definition at line 44 of file qtparsetimezone_p.h.
|
constexpr |
Definition at line 49 of file qtparsetimezone_p.h.