basicproperty.tests.test_date | index p:\properties\basicproperty\tests\test_date.py |
Modules | ||||||
|
Classes | ||||||||||||||
|
Data | ||
DATATABLE = [('tod', [(<RelativeDateTime instance for 'YYYY-MM-DD 02:03:00' at 0x1d734b8>, [<RelativeDateTime instance for 'YYYY-MM-DD 02:03:00' at 0x1d734e0>, <RelativeDateTime instance for 'YYYY-(+03)-(+30) 02:03:00' at 0x1d73508>, u'2:3:.5', u'02:03:0.5', u'2:3:.5am', (2, 3, 0, 500), [2, 3, 0, 500]]), (<RelativeDateTime instance for 'YYYY-MM-DD 14:00:00' at 0x1d73530>, [<RelativeDateTime instance for 'YYYY-MM-DD 14:00:00' at 0x1d73558>, <RelativeDateTime instance for 'YYYY-(+03)-(+30) 14:00:00' at 0x1d73328>, u'14', u'14:0:0', u'14:00', u'14:00pm', u'2pm', u'2 PM', '14', (14, 0, 0), (14,), (14, 0, 0, 0), 14, 14L, 14.0]), (<RelativeDateTime instance for 'YYYY-MM-DD 14:30:00' at 0x1d5c4b8>, [14.5]), (<RelativeDateTime instance for 'YYYY-MM-DD 00:30:00' at 0x1d5c300>, ['24:30', '48:30']), (<RelativeDateTime instance for 'YYYY-MM-DD 00:00:00' at 0x1d5c710>, ['24:00', '12am', '0am']), (<RelativeDateTime instance for 'YYYY-MM-DD 12:00:00' at 0x1d5cb98>, ['0pm', '12pm'])], [('a', <class exceptions.ValueError at 0x00764D80>), (None, <class exceptions.TypeError at 0x00764540>), ('am', <class exceptions.ValueError at 0x00764D80>)]), ('dt', [(<mx.DateTime.DateTime object for '2003-02-23 00:00:00.00' at 1b6bba0>, [<mx.DateTime.DateTime object for '2003-02-23 00:00:00.00' at 1d52260>, '2003-02-23', u'2003-02-23', (2003, 2, 23, 0, 0, 0, 6, 54, 0), 1045976400.0]), (<mx.DateTime.DateTime object for '2004-02-23 00:00:00.00' at 1d528e0>, ['Feb 23rd', 'February 23', '02/23', 'feb 23']), (<mx.DateTime.DateTime object for '2003-02-23 00:00:00.00' at 1d522a0>, ['Feb 23, 2003', 'February 23, 2003', 'Sunday February 23, 2003', '2003-02-23', 'feb 23, 2003', '2003-02-23'])], []), ('dtd', [(<mx.DateTime.DateTimeDelta object for '1:02:03:04.00' at 1d5ca70>, [<mx.DateTime.DateTimeDelta object for '1:02:03:04.00' at 1d5c9a8>, '1 day, 2 hours, 3 minutes and 4 seconds', u'1 day, 2 hours, 3 minutes and 4 seconds', '1d2h3m4s']), (<mx.DateTime.DateTimeDelta object for '-02:03:04.00' at 1d5cc00>, ['-2:3:4.0', u'-2:3:4.0', '-2:3:4', (0, -2, -3, -4.0)]), (<mx.DateTime.DateTimeDelta object for '02:03:04.00' at 1d5c6b0>, ['2:3:4.0', u'2:3:4.0', '2:3:4', (0, 2, 3, 4.0)]), (<mx.DateTime.DateTimeDelta object for '02:03:04.34' at 1d5ca48>, ['2:3:4.34', u'2:3:4.34', '2:3:4.34', (0, 2, 3, 4.3399999999999999)])], [])] __file__ = r'p:\properties\basicproperty\tests\test_date.pyc' __name__ = 'basicproperty.tests.test_date' t1 = 1045976400.0 |