KItinerary::FcbUtil
KItinerary::FcbUtil Class Reference
#include <fcbutil.h>
Static Public Member Functions | |
static QString | classCodeToString (Fcb::v13::TravelClassType classCode) |
static QString | classCodeToString (Fcb::v3::TravelClassType classCode) |
static QDate | decodeDate (int year, std::optional< int > day) |
static QDate | decodeDifferentialDate (const QDate &base, int year, std::optional< int > day) |
static QDateTime | decodeDifferentialEndTime (const QDateTime &baseDt, int day, std::optional< int > time, std::optional< int > utcOffset) |
static QDateTime | decodeDifferentialStartTime (const QDateTime &baseDt, int day, std::optional< int > time, std::optional< int > utcOffset) |
static QDateTime | decodeDifferentialTime (const QDateTime &baseDt, int day, std::optional< int > time, std::optional< int > utcOffset) |
template<typename CodeTableTypeT, typename T> | |
static QString | fromStationIdentifier (CodeTableTypeT stationCodeTable, const T &doc) |
template<typename T> | |
static QString | fromStationIdentifier (const T &doc) |
static QDateTime | issuingDateTime (int year, int day, std::optional< int > time) |
template<typename CodeTableTypeT, typename T> | |
static QString | toStationIdentifier (CodeTableTypeT stationCodeTable, const T &doc) |
template<typename T> | |
static QString | toStationIdentifier (const T &doc) |
Detailed Description
Member Function Documentation
◆ classCodeToString() [1/2]
|
staticnodiscard |
Convert a class code enum value to a string for human representation.
Definition at line 30 of file fcbutil.cpp.
◆ classCodeToString() [2/2]
|
staticnodiscard |
Definition at line 42 of file fcbutil.cpp.
◆ decodeDate()
|
staticnodiscard |
Decode FCB date.
Definition at line 58 of file fcbutil.cpp.
◆ decodeDifferentialDate()
|
staticnodiscard |
Definition at line 67 of file fcbutil.cpp.
◆ decodeDifferentialEndTime()
|
staticnodiscard |
Definition at line 110 of file fcbutil.cpp.
◆ decodeDifferentialStartTime()
|
staticnodiscard |
Definition at line 100 of file fcbutil.cpp.
◆ decodeDifferentialTime()
|
staticnodiscard |
Decode differential time, relative to baseDt
.
Definition at line 86 of file fcbutil.cpp.
◆ fromStationIdentifier() [1/2]
template<typename CodeTableTypeT, typename T>
|
inlinestaticnodiscard |
◆ fromStationIdentifier() [2/2]
template<typename T>
|
inlinestaticnodiscard |
◆ issuingDateTime()
|
staticnodiscard |
Decode FCB issuing time.
Definition at line 77 of file fcbutil.cpp.
◆ toStationIdentifier() [1/2]
template<typename CodeTableTypeT, typename T>
|
inlinestaticnodiscard |
◆ toStationIdentifier() [2/2]
template<typename T>
|
inlinestaticnodiscard |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:36 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.