|
Qt Virtual Chart Table (QVCT)
|
Time zone (UTC, local) selection class. More...
#include <units/CUnitTimeZone.hpp>
Public Types | |
| enum | EUnit { UTC , LOCAL , UNDEFINED } |
| Format/unit ID. More... | |
Static Public Member Functions | |
| static const QMap< EUnit, QString > & | symbols () |
| Returns the list of supported human-readable format/unit symbols. More... | |
| static QString | toSymbol (EUnit _eUnit) |
| Returns the human-readable symbol corresponding to the given format/unit ID. More... | |
| static EUnit | fromSymbol (const QString &_rqsSymbol) |
| Returns the format/unit ID corresponding to the given human-readable symbol. More... | |
| static const QMap< EUnit, QString > & | codes () |
| Returns the list of supported machine-friendly format/unit codes. More... | |
| static QString | toCode (EUnit _eUnit) |
| Returns the machine-friendly code corresponding to the given format/unit ID. More... | |
| static EUnit | fromCode (const QString &_rqsCode) |
| Returns the format/unit ID corresponding to the given machine-friendly code. More... | |
Static Private Attributes | |
| static const CUnitTimeZoneSymbols | oUnitTimeZoneSymbols |
| Container for supported human-readable format/unit symbols. More... | |
| static const CUnitTimeZoneCodes | oUnitTimeZoneCodes |
| Container for supported machine-friendly format/unit codes. More... | |
Time zone (UTC, local) selection class.
This class allows to select UTC or local times for rendering/parsing dates and times.
Definition at line 38 of file CUnitTimeZone.hpp.
| enum CUnitTimeZone::EUnit |
Format/unit ID.
| Enumerator | |
|---|---|
| UTC | Universal Time Coordinates. |
| LOCAL | Local Time. |
| UNDEFINED | undefined format/unit |
Definition at line 47 of file CUnitTimeZone.hpp.
|
static |
Returns the list of supported human-readable format/unit symbols.
Definition at line 34 of file CUnitTimeZone.cpp.
|
static |
Returns the human-readable symbol corresponding to the given format/unit ID.
Definition at line 39 of file CUnitTimeZone.cpp.
|
static |
Returns the format/unit ID corresponding to the given human-readable symbol.
Definition at line 44 of file CUnitTimeZone.cpp.
|
static |
Returns the list of supported machine-friendly format/unit codes.
Definition at line 49 of file CUnitTimeZone.cpp.
|
static |
Returns the machine-friendly code corresponding to the given format/unit ID.
Definition at line 54 of file CUnitTimeZone.cpp.
|
static |
Returns the format/unit ID corresponding to the given machine-friendly code.
Definition at line 59 of file CUnitTimeZone.cpp.
|
staticprivate |
Container for supported human-readable format/unit symbols.
Definition at line 55 of file CUnitTimeZone.hpp.
|
staticprivate |
Container for supported machine-friendly format/unit codes.
Definition at line 57 of file CUnitTimeZone.hpp.