simpleparse.common.iso_date_loose | index /home/mcfletch/pylive/simpleparse/common/iso_date_loose.py |
Somewhat Looser ISO date format YYYY-MM-DD HH:mm:SS +HH:mm
ISO_date_loose -- YYYY-MM-DD format, with a month and day optional,
month or day may be specified without leading 0
ISO_time_loose -- HH:mm:SS format, with minutes and seconds optional
all numbers may be specified without leading 0
ISO_date_time_loose -- YYYY-MM-DD HH:mm:SS +HH:mm format,
with time optional and TimeZone offset optional,
same format for date and time as above
Interpreter:
MxInterpreter
Interprets the parse tree as mx.DateTime values
Date and DateTime -> DateTime objects
Time only -> RelativeDateTime
Modules | ||||||
|
Classes | ||||||||||
|
Data | ||
_p = <simpleparse.parser.Parser instance> c = {'ISO_date_loose': LibraryElement( production = 'ISO_date_loose...enerator.Generator instance at 0x2aaaad6009e0>, ), 'ISO_date_time_loose': LibraryElement( production = 'ISO_date_time_...enerator.Generator instance at 0x2aaaad6009e0>, ), 'ISO_time_loose': LibraryElement( production = 'ISO_time_loose...enerator.Generator instance at 0x2aaaad6009e0>, )} declaration = "\n<date_separator> := [-]\n<time_separator> := ':'...te_loose, ([T ], ISO_time_loose)?, [ ]?, offset?\n" haveMX = 1 name = 'ISO_date_loose' |