Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtTemporalPattern::FieldGroup Namespace Reference

Masks identifying mutually-exclusive families of options. More...

Variables

constexpr TemporalFieldFlags FormMask
constexpr TemporalFieldFlags WidthMask
constexpr TemporalFieldFlags PaddingMask = TemporalFieldFlag::ZeroPad | TemporalFieldFlag::SpacePad
constexpr TemporalFieldFlags LocalizationMask = TemporalFieldFlag::LocalizedZone | TemporalFieldFlag::Iso8601
constexpr TemporalFieldFlags UtcPrefixMask = TemporalFieldFlag::AcceptUtcPrefix | TemporalFieldFlag::NeedNoUtcPrefix
constexpr TemporalFieldFlags SeasonMask

Detailed Description

Masks identifying mutually-exclusive families of options.

Each constant in this namespace is of type \l {QtTemporalPattern::} {TemporalFieldFlags} and combines a mutually-exclusive family of \l {QtTemporalPattern::} {TemporalFieldFlag} values into a mask by which to identify that family. Within each such family, if none of the flags is specified, any of them may be applied but if any of them are specified then only one of those specified may be applied.

\value FormMask The three general forms of a field: numeric, verbal and standalone. \value WidthMask The four field widths: wide, short, abbreviated, and narrow. \value UtcPrefixMask The two options for prefixes on offset forms of timezones, with and without a UTC prefix. \value PaddingMask The two padding options for when fields don't fill the width allotted to them: spaces and zeros. \value SeasonMask The three perspectives from which to describe a timezone: the generic, regardless of the time of year, the standard, and how it's described when exercising daylight-saving time (if it does at all).

Variable Documentation

◆ FormMask

◆ LocalizationMask

TemporalFieldFlags QtTemporalPattern::FieldGroup::LocalizationMask = TemporalFieldFlag::LocalizedZone | TemporalFieldFlag::Iso8601
constexpr

Definition at line 92 of file qttemporalpattern_p.h.

◆ PaddingMask

TemporalFieldFlags QtTemporalPattern::FieldGroup::PaddingMask = TemporalFieldFlag::ZeroPad | TemporalFieldFlag::SpacePad
constexpr

Definition at line 90 of file qttemporalpattern_p.h.

◆ SeasonMask

◆ UtcPrefixMask

TemporalFieldFlags QtTemporalPattern::FieldGroup::UtcPrefixMask = TemporalFieldFlag::AcceptUtcPrefix | TemporalFieldFlag::NeedNoUtcPrefix
constexpr

Definition at line 94 of file qttemporalpattern_p.h.

◆ WidthMask