Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dimaplib.py394 def append(self, mailbox, flags, date_time, message): argument
409 if date_time:
410 date_time = Time2Internaldate(date_time)
412 date_time = None
417 return self._simple_command(name, mailbox, flags, date_time)
1504 def Time2Internaldate(date_time): argument
1516 if isinstance(date_time, (int, float)):
1517 dt = datetime.fromtimestamp(date_time,
1519 elif isinstance(date_time, tuple):
1521 gmtoff = date_time.tm_gmtoff
[all …]
D_strptime.py116 date_time = [None, None, None]
117 date_time[0] = time.strftime("%c", time_tuple).lower()
118 date_time[1] = time.strftime("%x", time_tuple).lower()
119 date_time[2] = time.strftime("%X", time_tuple).lower()
131 current_format = date_time[offset]
147 date_time[offset] = current_format.replace('11', U_W)
148 self.LC_date_time = date_time[0]
149 self.LC_date = date_time[1]
150 self.LC_time = date_time[2]
Dzipfile.py345 def __init__(self, filename="NoName", date_time=(1980,1,1,0,0,0)): argument
360 self.date_time = date_time # year, month, day, hour, min, sec
362 if date_time[0] < 1980:
413 dt = self.date_time
507 date_time = mtime[0:6]
508 if not strict_timestamps and date_time[0] < 1980:
509 date_time = (1980, 1, 1, 0, 0, 0)
510 elif not strict_timestamps and date_time[0] > 2107:
511 date_time = (2107, 12, 31, 23, 59, 59)
520 zinfo = cls(arcname, date_time)
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstplugin.c629 check_release_datetime (const gchar * date_time) in check_release_datetime() argument
634 if (!g_ascii_isdigit (*date_time)) in check_release_datetime()
637 val = g_ascii_strtoull (date_time, (gchar **) & date_time, 10); in check_release_datetime()
638 if (val < 2000 || val > 2100 || *date_time != '-') in check_release_datetime()
641 val = g_ascii_strtoull (date_time + 1, (gchar **) & date_time, 10); in check_release_datetime()
642 if (val == 0 || val > 12 || *date_time != '-') in check_release_datetime()
645 val = g_ascii_strtoull (date_time + 1, (gchar **) & date_time, 10); in check_release_datetime()
650 if (*date_time == 'T' || *date_time == ' ') { in check_release_datetime()
651 val = g_ascii_strtoull (date_time + 1, (gchar **) & date_time, 10); in check_release_datetime()
652 if (val > 24 || *date_time != ':') in check_release_datetime()
[all …]
Dgstvalue.c8069 REGISTER_SERIALIZATION (gst_date_time_get_type (), date_time); in _priv_gst_value_initialize()
/third_party/jerryscript/tests/jerry/
Ddate-tostring.js135 date_time = new Date ("2015-07-08T11:29:05.023").toJSON ();
136 assert (new Date (date_time).toISOString () == "2015-07-08T11:29:05.023Z");
/third_party/gstreamer/gstplugins_bad/ext/openmpt/
Dgstopenmptdec.c476 GstDateTime *date_time = gst_date_time_new_from_iso8601_string (metadata); in gst_openmpt_dec_add_metadata_to_tag_list() local
477 if (date_time) { in gst_openmpt_dec_add_metadata_to_tag_list()
480 gst_tag_list_add (tags, GST_TAG_MERGE_REPLACE, tag, date_time, NULL); in gst_openmpt_dec_add_metadata_to_tag_list()
481 gst_date_time_unref (date_time); in gst_openmpt_dec_add_metadata_to_tag_list()
/third_party/skia/third_party/externals/piex/src/
Dpiex_types.h95 std::string date_time; member
Dtiff_parser.cc201 &preview_image_data->date_time); in FillPreviewImageData()
/third_party/flutter/skia/third_party/externals/piex/src/
Dpiex_types.h95 std::string date_time; member
Dtiff_parser.cc201 &preview_image_data->date_time); in FillPreviewImageData()
/third_party/node/deps/zlib/google/
Dzip_unittest.cc246 void TestTimeStamp(const char* date_time, ValidYearType valid_year) { in TestTimeStamp() argument
247 SCOPED_TRACE(std::string("TestTimeStamp(") + date_time + ")"); in TestTimeStamp()
262 ASSERT_TRUE(base::Time::FromString(date_time, &test_mtime)); in TestTimeStamp()
/third_party/flutter/skia/third_party/externals/zlib/google/
Dzip_unittest.cc246 void TestTimeStamp(const char* date_time, ValidYearType valid_year) { in TestTimeStamp() argument
247 SCOPED_TRACE(std::string("TestTimeStamp(") + date_time + ")"); in TestTimeStamp()
262 ASSERT_TRUE(base::Time::FromString(date_time, &test_mtime)); in TestTimeStamp()
/third_party/skia/third_party/externals/zlib/google/
Dzip_unittest.cc247 void TestTimeStamp(const char* date_time, ValidYearType valid_year) { in TestTimeStamp() argument
248 SCOPED_TRACE(std::string("TestTimeStamp(") + date_time + ")"); in TestTimeStamp()
263 ASSERT_TRUE(base::Time::FromString(date_time, &test_mtime)); in TestTimeStamp()
/third_party/python/Doc/library/
Dimaplib.rst155 .. function:: Time2Internaldate(date_time)
157 Convert *date_time* to an IMAP4 ``INTERNALDATE`` representation.
159 +HHMM"`` (including double-quotes). The *date_time* argument can
213 .. method:: IMAP4.append(mailbox, flags, date_time, message)
Dzipfile.rst70 .. class:: ZipInfo(filename='NoName', date_time=(1980,1,1,0,0,0))
77 *date_time* should be a tuple containing six fields which describe the time
684 .. attribute:: ZipInfo.date_time
/third_party/libphonenumber/cpp/
DCMakeLists.txt109 find_package (Boost 1.40.0 COMPONENTS date_time system thread)
/third_party/python/Lib/test/
Dtest_zipfile.py610 self.assertEqual(zinfo.date_time, (1980, 1, 1, 0, 0, 0))
642 self.assertEqual(zinfo.date_time, (2107, 12, 31, 23, 59, 59))
1932 self.assertEqual(zi.date_time, (1980, 1, 1, 0, 0, 0))
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_third_party9573 FILE: ../../../third_party/dart/sdk/lib/core/date_time.dart
/third_party/python/Misc/
DHISTORY19971 - logging.handlers.SMTPHandler.date_time has been removed;