|
openPilotLog
|
The ADate class is responsible for input/output of Dates and handling the different Date Formats. More...
#include <adate.h>
Static Public Member Functions | |
| static QDate | formatInput (QString user_input, Opl::Date::ADateFormat format) |
| formatInput takes a user-provided input and tries to convert it to a QDate. More... | |
| static QString | toString (const QDate &date, Opl::Date::ADateFormat format=Opl::Date::ADateFormat::ISODate) |
| Reimplements QDate::toString to accept Opl::Date::ADateFormat enums. | |
| static const QStringList & | getDisplayNames () |
| static const QString | getFormatString (Opl::Date::ADateFormat format) |
The ADate class is responsible for input/output of Dates and handling the different Date Formats.
|
static |
formatInput takes a user-provided input and tries to convert it to a QDate.