Home
last modified time | relevance | path

Searched refs:date_time (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython2/Lib/
D_strptime.py126 date_time = [None, None, None]
127 date_time[0] = time.strftime("%c", time_tuple).lower()
128 date_time[1] = time.strftime("%x", time_tuple).lower()
129 date_time[2] = time.strftime("%X", time_tuple).lower()
141 current_format = date_time[offset]
157 date_time[offset] = current_format.replace('11', U_W)
158 self.LC_date_time = date_time[0]
159 self.LC_date = date_time[1]
160 self.LC_time = date_time[2]
Dimaplib.py320 def append(self, mailbox, flags, date_time, message): argument
335 if date_time:
336 date_time = Time2Internaldate(date_time)
338 date_time = None
340 return self._simple_command(name, mailbox, flags, date_time)
1403 def Time2Internaldate(date_time): argument
1415 if isinstance(date_time, (int, long, float)):
1416 tt = time.localtime(date_time)
1417 elif isinstance(date_time, (tuple, time.struct_time)):
1418 tt = date_time
[all …]
Dzipfile.py287 def __init__(self, filename="NoName", date_time=(1980,1,1,0,0,0)): argument
302 self.date_time = date_time # year, month, day, hour, min, sec
304 if date_time[0] < 1980:
331 dt = self.date_time
854 x.date_time = ( (d>>9)+1980, (d>>5)&0xF, d&0x1F,
888 date = "%d-%02d-%02d %02d:%02d:%02d" % zinfo.date_time[:6]
1126 date_time = mtime[0:6]
1135 zinfo = ZipInfo(arcname, date_time)
1214 date_time=time.localtime(time.time())[:6])
1273 dt = zinfo.date_time
Dtarfile.py2586 m.date_time = time.gmtime(m.mtime)[:6]
2610 tinfo.mtime = calendar.timegm(zinfo.date_time)
/external/python/cpython3/Lib/
Dimaplib.py380 def append(self, mailbox, flags, date_time, message): argument
395 if date_time:
396 date_time = Time2Internaldate(date_time)
398 date_time = None
403 return self._simple_command(name, mailbox, flags, date_time)
1469 def Time2Internaldate(date_time): argument
1481 if isinstance(date_time, (int, float)):
1482 dt = datetime.fromtimestamp(date_time,
1484 elif isinstance(date_time, tuple):
1486 gmtoff = date_time.tm_gmtoff
[all …]
D_strptime.py125 date_time = [None, None, None]
126 date_time[0] = time.strftime("%c", time_tuple).lower()
127 date_time[1] = time.strftime("%x", time_tuple).lower()
128 date_time[2] = time.strftime("%X", time_tuple).lower()
140 current_format = date_time[offset]
156 date_time[offset] = current_format.replace('11', U_W)
157 self.LC_date_time = date_time[0]
158 self.LC_date = date_time[1]
159 self.LC_time = date_time[2]
Dzipfile.py339 def __init__(self, filename="NoName", date_time=(1980,1,1,0,0,0)): argument
354 self.date_time = date_time # year, month, day, hour, min, sec
356 if date_time[0] < 1980:
406 dt = self.date_time
509 date_time = mtime[0:6]
518 zinfo = cls(arcname, date_time)
1342 x.date_time = ( (d>>9)+1980, (d>>5)&0xF, d&0x1F,
1373 date = "%d-%02d-%02d %02d:%02d:%02d" % zinfo.date_time[:6]
1757 date_time=time.localtime(time.time())[:6])
1815 dt = zinfo.date_time
/external/python/setuptools/pkg_resources/tests/
Dtest_pkg_resources.py59 zip_info.date_time = cls.ref_time.timetuple()
63 zip_info.date_time = cls.ref_time.timetuple()
67 zip_info.date_time = cls.ref_time.timetuple()
71 zip_info.date_time = cls.ref_time.timetuple()
/external/chromium-trace/catapult/third_party/zipfile/
Dzipfile_2_7_13.py287 def __init__(self, filename="NoName", date_time=(1980,1,1,0,0,0)): argument
302 self.date_time = date_time # year, month, day, hour, min, sec
304 if date_time[0] < 1980:
331 dt = self.date_time
857 x.date_time = ( (d>>9)+1980, (d>>5)&0xF, d&0x1F,
891 date = "%d-%02d-%02d %02d:%02d:%02d" % zinfo.date_time[:6]
1129 date_time = mtime[0:6]
1138 zinfo = ZipInfo(arcname, date_time)
1217 date_time=time.localtime(time.time())[:6])
1276 dt = zinfo.date_time
/external/autotest/tko/
Dfrontend.py120 def convert_None_to_datetime(date_time): argument
121 if not date_time:
124 return date_time
/external/piex/src/
Dpiex_types.h95 std::string date_time; member
Dtiff_parser.cc201 &preview_image_data->date_time); in FillPreviewImageData()
/external/python/cpython2/Doc/library/
Dimaplib.rst106 .. function:: Time2Internaldate(date_time)
108 Convert *date_time* to an IMAP4 ``INTERNALDATE`` representation. The
110 +HHMM"`` (including double-quotes). The *date_time* argument can be a
162 .. method:: IMAP4.append(mailbox, flags, date_time, message)
Dzipfile.rst52 .. class:: ZipInfo([filename[, date_time]])
59 *date_time* should be a tuple containing six fields which describe the time
399 .. attribute:: ZipInfo.date_time
/external/ImageMagick/MagickCore/
Dnt-base.c396 date_time; in gettimeofday() local
399 date_time.LowPart=file_time.dwLowDateTime; in gettimeofday()
400 date_time.HighPart=file_time.dwHighDateTime; in gettimeofday()
401 time=date_time.QuadPart; in gettimeofday()
/external/python/cpython3/Doc/library/
Dimaplib.rst144 .. function:: Time2Internaldate(date_time)
146 Convert *date_time* to an IMAP4 ``INTERNALDATE`` representation.
148 +HHMM"`` (including double-quotes). The *date_time* argument can
202 .. method:: IMAP4.append(mailbox, flags, date_time, message)
Dzipfile.rst61 .. class:: ZipInfo(filename='NoName', date_time=(1980,1,1,0,0,0))
68 *date_time* should be a tuple containing six fields which describe the time
571 .. attribute:: ZipInfo.date_time
/external/libchrome/build/android/gyp/util/
Dbuild_utils.py307 zipinfo = zipfile.ZipInfo(filename=zip_path, date_time=HERMETIC_TIMESTAMP)
/external/python/setuptools/pkg_resources/
D__init__.py1650 date_time = zip_stat.date_time + (0, 0, -1)
1652 timestamp = time.mktime(date_time)
/external/python/cpython2/Misc/
DHISTORY2587 - logging.handlers.SMTPHandler.date_time has been removed;
/external/python/cpython3/Misc/
DHISTORY19971 - logging.handlers.SMTPHandler.date_time has been removed;