|
Engauge Digitizer
2
|
Input parsing and output formatting for date/time values. More...
#include <FormatDateTime.h>

Public Member Functions | |
| FormatDateTime () | |
| Single constructor. More... | |
| QString | formatOutput (CoordUnitsDate coordUnitsDate, CoordUnitsTime coordUnitsTime, double value) const |
| Format the date/time value according to date/time format settings. More... | |
| QValidator::State | parseInput (CoordUnitsDate coordUnitsDate, CoordUnitsTime coordUnitsTime, const QString &stringUntrimmed, double &value) const |
| Parse the input string into a time value. More... | |
Input parsing and output formatting for date/time values.
Definition at line 25 of file FormatDateTime.h.
| FormatDateTime::FormatDateTime | ( | ) |
Single constructor.
Definition at line 17 of file FormatDateTime.cpp.
| QString FormatDateTime::formatOutput | ( | CoordUnitsDate | coordUnitsDate, |
| CoordUnitsTime | coordUnitsTime, | ||
| double | value | ||
| ) | const |
Format the date/time value according to date/time format settings.
Definition at line 127 of file FormatDateTime.cpp.
| QValidator::State FormatDateTime::parseInput | ( | CoordUnitsDate | coordUnitsDate, |
| CoordUnitsTime | coordUnitsTime, | ||
| const QString & | stringUntrimmed, | ||
| double & | value | ||
| ) | const |
Parse the input string into a time value.
Success flag is false if parsing failed. Leading/trailing spaces are trimmed (=ignored)
Definition at line 425 of file FormatDateTime.cpp.
1.8.14