GnuCash
4.10-423-ga5cae6c5e
|
GnuCash DateFormat class. More...
#include <gnc-datetime.hpp>
Public Member Functions | |
GncDateFormat (const char *fmt, const char *re) | |
Construct a GncDateFormat with a given format and corresponding regular expression. More... | |
Data Fields | |
const std::string | m_fmt |
A string representing the format. More... | |
Friends | |
class | GncDateImpl |
GnuCash DateFormat class.
A helper class to represent a date format understood by the GncDate string/format constructor. Consumers of this header file are not supposed to create objects of this class themselves. Instead they can get a list of the understood formats from the GncDate::c_formats class variable and work with those.
Definition at line 174 of file gnc-datetime.hpp.
|
inline |
Construct a GncDateFormat with a given format and corresponding regular expression.
This should only be used internally by the GncDate implementation. Consumers should never construct a GncDateFormat themselves!
Definition at line 182 of file gnc-datetime.hpp.
const std::string GncDateFormat::m_fmt |
A string representing the format.
Definition at line 185 of file gnc-datetime.hpp.