Engauge Digitizer 2
Loading...
Searching...
No Matches
CoordUnitsDate.cpp File Reference
#include "CoordUnitsDate.h"
#include <QObject>
Include dependency graph for CoordUnitsDate.cpp:

Go to the source code of this file.

Functions

QString coordUnitsDateToString (CoordUnitsDate coordUnits)

Function Documentation

◆ coordUnitsDateToString()

QString coordUnitsDateToString ( CoordUnitsDate coordUnits)

Definition at line 10 of file CoordUnitsDate.cpp.

11{
12 switch (coordUnits) {
14 return QObject::tr ("DD/MM/YYYY");
15
17 return QObject::tr ("MM/DD/YYYY");
18
20 return QObject::tr ("YYYY/MM/DD");
21
23 return "";
24
25 default:
26 return QObject::tr ("unknown");
27 }
28}
@ COORD_UNITS_DATE_SKIP
@ COORD_UNITS_DATE_DAY_MONTH_YEAR
@ COORD_UNITS_DATE_YEAR_MONTH_DAY
@ COORD_UNITS_DATE_MONTH_DAY_YEAR