GnuCash c935c2f+
Loading...
Searching...
No Matches
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.
 
 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.
 

Friends

class GncDateImpl
 

Detailed Description

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

Constructor & Destructor Documentation

◆ GncDateFormat() [1/3]

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 190 of file gnc-datetime.hpp.

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

◆ GncDateFormat() [2/3]

GncDateFormat::GncDateFormat ( const char *  fmt,
StringToDate  str_to_date,
const char *  re 
)
inline

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

192 :
193 m_fmt(fmt), m_re(re), m_str_to_date(str_to_date) {}

◆ GncDateFormat() [3/3]

GncDateFormat::GncDateFormat ( const char *  fmt,
StringToDate  str_to_date 
)
inline

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

194 :
195 m_fmt(fmt), m_str_to_date(str_to_date) {}

Friends And Related Symbol Documentation

◆ GncDateImpl

friend class GncDateImpl
friend

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

Field Documentation

◆ m_fmt

const std::string GncDateFormat::m_fmt

A string representing the format.

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


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