KItinerary
ssbv1ticket.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 QDateTime departureTime(const QDateTime &contextDate=QDateTime::currentDateTime()) const
Decoded departure time slot.
Definition ssbv1ticket.cpp:55
static bool maybeSSB(const QByteArray &data)
Returns true if data might be an ERA SSB ticket.
Definition ssbv1ticket.cpp:39
Q_INVOKABLE QDate firstDayOfValidity(const QDateTime &contextDate=QDateTime::currentDateTime()) const
First day of validity.
Definition ssbv1ticket.cpp:47
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
char at(qsizetype i) const const
bool isEmpty() const const
qsizetype size() const const
QDateTime addSecs(qint64 s) 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.