#include </home/zeitlin/src/wx/github/interface/wx/grid.h>
This class may be used to format a date/time data in a cell.
The class wxDateTime is used internally to display the local date/time or to parse the string date entered in the cell thanks to the defined format.
Public Member Functions | |
wxGridCellDateTimeRenderer (const wxString &outformat=wxDefaultDateTimeFormat, const wxString &informat=wxDefaultDateTimeFormat) | |
Date/time renderer constructor. | |
virtual void | SetParameters (const wxString ¶ms) |
Sets the strptime()-like format string which will be used to parse the date/time. |
wxGridCellDateTimeRenderer::wxGridCellDateTimeRenderer | ( | const wxString & | outformat = wxDefaultDateTimeFormat , |
const wxString & | informat = wxDefaultDateTimeFormat |
||
) |
Date/time renderer constructor.
outformat | strptime()-like format string used the parse the output date/time. |
informat | strptime()-like format string used to parse the string entered in the cell. |
virtual void wxGridCellDateTimeRenderer::SetParameters | ( | const wxString & | params | ) | [virtual] |
Sets the strptime()-like format string which will be used to parse the date/time.
params | strptime()-like format string used to parse the date/time. |