KItinerary
ssbv2ticket.cpp
static QDate dayNumberToDate(int days, const QDateTime &context)
Convert a SSBv1 or v2 day number to a date based on context.
Definition ssbticketbase.cpp:61
Q_INVOKABLE QDate firstDayOfValidity(const QDateTime &contextDate=QDateTime::currentDateTime()) const
First day of validity.
Definition ssbv2ticket.cpp:55
Q_INVOKABLE QDate lastDayOfValidity(const QDateTime &contextDate=QDateTime::currentDateTime()) const
Last day of validity.
Definition ssbv2ticket.cpp:63
static bool maybeSSB(const QByteArray &data)
Returns true if data might be an ERA SSB ticket.
Definition ssbv2ticket.cpp:47
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
char at(qsizetype i) const const
void clear()
bool isEmpty() const const
qsizetype size() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.