/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/ |
D | test_assertions.py | 1 import datetime 46 first = datetime.datetime.now() 47 second = first + datetime.timedelta(seconds=10) 49 delta=datetime.timedelta(seconds=20)) 51 delta=datetime.timedelta(seconds=5))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | calendar.py | 9 import datetime 49 _months = [datetime.date(2001, i+1, 1).strftime for i in range(12)] 69 _days = [datetime.date(2001, 1, i+1).strftime for i in range(7)] 113 return datetime.date(year, month, day).weekday() 157 date = datetime.date(year, month, 1) 160 date -= datetime.timedelta(days=days) 161 oneday = datetime.timedelta(days=1) 602 _EPOCH_ORD = datetime.date(EPOCH, 1, 1).toordinal() 608 days = datetime.date(year, month, 1).toordinal() - _EPOCH_ORD + day - 1 678 print cal.formatyearpage(datetime.date.today().year, **optdict) [all …]
|
D | xmlrpclib.py | 159 import datetime 161 datetime = None variable 363 if datetime: 364 if isinstance(value, datetime.datetime): 392 elif datetime and isinstance(other, datetime.datetime): 468 return datetime.datetime(*tuple(t)[:6]) 741 if datetime: 746 dispatch[datetime.datetime] = dump_datetime 785 if use_datetime and not datetime: 1014 if use_datetime and not datetime:
|
D | plistlib.py | 62 import datetime 198 return datetime.datetime(*lst) 255 elif isinstance(value, datetime.datetime):
|
D | _strptime.py | 19 from datetime import date as datetime_date
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | calendar.py | 9 import datetime 49 _months = [datetime.date(2001, i+1, 1).strftime for i in range(12)] 69 _days = [datetime.date(2001, 1, i+1).strftime for i in range(7)] 113 return datetime.date(year, month, day).weekday() 157 date = datetime.date(year, month, 1) 160 date -= datetime.timedelta(days=days) 161 oneday = datetime.timedelta(days=1) 607 _EPOCH_ORD = datetime.date(EPOCH, 1, 1).toordinal() 613 days = datetime.date(year, month, 1).toordinal() - _EPOCH_ORD + day - 1 683 print cal.formatyearpage(datetime.date.today().year, **optdict) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_plistlib.py | 6 import datetime 114 aDate = datetime.datetime(2004, 10, 26, 10, 33, 33),
|
D | test_xmlrpc.py | 2 import datetime 41 datetime.datetime(2005, 02, 10, 11, 41, 23)), 55 dt = datetime.datetime(2005, 02, 10, 11, 41, 23) 66 dt = datetime.datetime(1, 02, 10, 11, 41, 23) 76 now = datetime.datetime.now() 80 then = now + datetime.timedelta(seconds=4) 234 d = datetime.datetime(2007,1,2,3,4,5) 239 d = datetime.datetime(2007,1,2,3,4,5) 248 tref = xmlrpclib.DateTime(datetime.datetime(2007,9,8,7,11,13))
|
D | test_datetime.py | 13 from datetime import MINYEAR, MAXYEAR 14 from datetime import timedelta 15 from datetime import tzinfo 16 from datetime import time 17 from datetime import date, datetime 36 import datetime 37 self.assertEqual(datetime.MINYEAR, 1) 38 self.assertEqual(datetime.MAXYEAR, 9999) 72 dt = datetime.max 86 dt = datetime.now() [all …]
|
D | test_strptime.py | 9 from datetime import date as datetime_date 278 import datetime 279 d = datetime.datetime(2012, 12, 20, 12, 34, 56, 78987)
|
D | test_str.py | 152 import datetime 159 d = datetime.date(2007, 8, 18) 206 class I(datetime.date):
|
D | test_inspect.py | 7 import datetime 97 self.assertFalse(inspect.ismemberdescriptor(datetime.timedelta.days))
|
D | test_sys.py | 589 import datetime 590 check(datetime.timedelta.days, size(h + '2PP'))
|
D | test_unicode.py | 1114 import datetime 1169 class I(datetime.date):
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/ |
D | BuildReport.py | 30 from datetime import datetime 606 self.BuildTimeStamp = datetime.fromtimestamp(int(Match.group(1)))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/ |
D | PythonReadMe.txt | 188 datetime Modules/datetimemodule.c
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/ |
D | Py2710ReadMe.txt | 210 datetime Modules/datetimemodule.c
|
/device/linaro/bootloader/edk2/IntelFspPkg/Tools/ |
D | GenCfgOpt.py | 18 from datetime import date
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Tools/ |
D | GenCfgOpt.py | 18 from datetime import date
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | datetimemodule.c | 3277 PyDateTime_DateTime datetime; in time_isoformat() local 3278 PyDateTime_DateTime *pdatetime = &datetime; in time_isoformat()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | datetimemodule.c | 3277 PyDateTime_DateTime datetime; in time_isoformat() local 3278 PyDateTime_DateTime *pdatetime = &datetime; in time_isoformat()
|