simpleparse.common.iso_date_loose | index s:\sp\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 | ||
__file__ = r'S:\sp\simpleparse\common\iso_date_loose.pyc' __name__ = 'simpleparse.common.iso_date_loose' _p = <simpleparse.parser.Parser instance at 0x0084ECE0> c = {'ISO_date_loose': LibraryElement( production = 'ISO_date_loose...se.generator.Generator instance at 0x0080B330>, ), 'ISO_date_time_loose': LibraryElement( production = 'ISO_date_time_...se.generator.Generator instance at 0x0080B330>, ), 'ISO_time_loose': LibraryElement( production = 'ISO_time_loose...se.generator.Generator instance at 0x0080B330>, )} declaration = "\n<date_separator> := [-]\n<time_separator> := ':'...te_loose, ([T ], ISO_time_loose)?, [ ]?, offset?\n" haveMX = 1 name = 'ISO_date_loose' |