wx.grid.GridCellDateTimeRenderer¶This class may be used to format a date/time data in a cell.
The class wx.DateTime is used internally to display the local date/time or to parse the string date entered in the cell thanks to the defined format.
See also
wx.grid.GridCellRenderer, wx.grid.GridCellAutoWrapStringRenderer, wx.grid.GridCellBoolRenderer, wx.grid.GridCellEnumRenderer, wx.grid.GridCellFloatRenderer, wx.grid.GridCellNumberRenderer, wx.grid.GridCellStringRenderer
Class Hierarchy¶
Inheritance diagram for class GridCellDateTimeRenderer:
Methods Summary¶Date/time renderer constructor. |
|
Sets the strptime()-like format string which will be used to parse the date/time. |
Class API¶Possible constructors:
GridCellDateTimeRenderer(outformat=DefaultDateTimeFormat,
informat=DefaultDateTimeFormat)
This class may be used to format a date/time data in a cell.
Date/time renderer constructor.
outformat (string) – strptime()-like format string used the parse the output date/time.
informat (string) – strptime()-like format string used to parse the string entered in the cell.
Sets the strptime()-like format string which will be used to parse the date/time.
params (string) – strptime()-like format string used to parse the date/time.