GnuCash  5.6-150-g038405b370+
Public Member Functions | Data Fields | Friends
GncDateFormat Class Reference

Public Member Functions

 GncDateFormat (const char *fmt, const char *re)
 Construct a GncDateFormat with a given format and corresponding regular expression. More...
 
 GncDateFormat (const char *fmt, StringToDate str_to_date, const char *re)
 
 GncDateFormat (const char *fmt, StringToDate str_to_date)
 

Data Fields

const std::string m_fmt
 A string representing the format. More...
 

Friends

class GncDateImpl
 

Detailed Description

Definition at line 181 of file gnc-datetime.hpp.

Constructor & Destructor Documentation

◆ GncDateFormat()

GncDateFormat::GncDateFormat ( const char *  fmt,
const char *  re 
)
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 189 of file gnc-datetime.hpp.

189  :
190  m_fmt(fmt), m_re(re) {}
const std::string m_fmt
A string representing the format.

Field Documentation

◆ m_fmt

const std::string GncDateFormat::m_fmt

A string representing the format.

Definition at line 196 of file gnc-datetime.hpp.


The documentation for this class was generated from the following file: