2
0

ADate.3 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. .TH "ADate" 3 "Tue May 4 2021" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. ADate \- The \fBADate\fP class is responsible for input/output of Dates and handling the different Date Formats\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <adate\&.h>\fP
  11. .SS "Static Public Member Functions"
  12. .in +1c
  13. .ti -1c
  14. .RI "static QDate \fBformatInput\fP (QString user_input, Opl::Date::ADateFormat format)"
  15. .br
  16. .RI "formatInput takes a user-provided input and tries to convert it to a QDate\&. "
  17. .ti -1c
  18. .RI "static QString \fBtoString\fP (const QDate &date, Opl::Date::ADateFormat format=Opl::Date::ADateFormat::ISODate)"
  19. .br
  20. .RI "Reimplements QDate::toString to accept Opl::Date::ADateFormat enums\&. "
  21. .ti -1c
  22. .RI "static const QStringList & \fBgetDisplayNames\fP ()"
  23. .br
  24. .ti -1c
  25. .RI "static const QString \fBgetFormatString\fP (Opl::Date::ADateFormat format)"
  26. .br
  27. .in -1c
  28. .SH "Detailed Description"
  29. .PP
  30. The \fBADate\fP class is responsible for input/output of Dates and handling the different Date Formats\&.
  31. .SH "Member Function Documentation"
  32. .PP
  33. .SS "QDate ADate::formatInput (QString user_input, Opl::Date::ADateFormat format)\fC [static]\fP"
  34. .PP
  35. formatInput takes a user-provided input and tries to convert it to a QDate\&.
  36. .PP
  37. \fBReturns\fP
  38. .RS 4
  39. QDate (invalid if input not recognized)
  40. .RE
  41. .PP
  42. .SH "Author"
  43. .PP
  44. Generated automatically by Doxygen for openPilotLog from the source code\&.