Home
last modified time | relevance | path

Searched refs:datetime (Results 1 – 25 of 127) sorted by relevance

123456

/external/chromium_org/third_party/sqlite/src/test/
Ddate.test27 ifcapable {!datetime} {
73 datetest 2.1 datetime(0,'unixepoch') {1970-01-01 00:00:00}
74 datetest 2.1b datetime(0,'unixepoc') NULL
75 datetest 2.1c datetime(0,'unixepochx') NULL
76 datetest 2.1d datetime('2003-10-22','unixepoch') NULL
77 datetest 2.2 datetime(946684800,'unixepoch') {2000-01-01 00:00:00}
78 datetest 2.2b datetime('946684800','unixepoch') {2000-01-01 00:00:00}
98 datetest 2.12 {datetime('2003-10-22 12:34','weekday 0')} {2003-10-26 12:34:00}
99 datetest 2.13 {datetime('2003-10-22 12:34','start of month')} \
101 datetest 2.14 {datetime('2003-10-22 12:34','start of year')} \
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DthemeInputMultipleFields.css7 input[type="datetime-local" i],
19 input::-webkit-datetime-edit {
26 input::-webkit-datetime-edit-fields-wrapper {
35 input::-webkit-datetime-edit-ampm-field,
36 input::-webkit-datetime-edit-day-field,
37 input::-webkit-datetime-edit-hour-field,
38 input::-webkit-datetime-edit-millisecond-field,
39 input::-webkit-datetime-edit-minute-field,
40 input::-webkit-datetime-edit-month-field,
41 input::-webkit-datetime-edit-second-field,
[all …]
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
Ddatetime.pxd7 cdef extern from "datetime.h":
9 ctypedef extern class datetime.date[object PyDateTime_Date]: class
12 ctypedef extern class datetime.time[object PyDateTime_Time]: class
15 ctypedef extern class datetime.datetime[object PyDateTime_DateTime]: class
18 ctypedef extern class datetime.timedelta[object PyDateTime_Delta]: class
21 ctypedef extern class datetime.tzinfo[object PyDateTime_TZInfo]: class
75 # Getters for date and datetime (C macros).
80 # Getters for datetime (C macros).
117 # Create datetime object using DateTime CAPI factory function.
127 # More recognizable getters for date/time/datetime/timedelta.
[all …]
/external/chromium_org/third_party/tlslite/tlslite/utils/
Ddatefuncs.py19 from datetime import datetime, timedelta
23 return datetime(year, month, day, hour, minute, second)
30 return datetime.utcnow()
33 return datetime.utcnow() + timedelta(hours=hours)
36 return datetime.utcnow() + timedelta(minutes=minutes)
39 return d < datetime.utcnow()
/external/pdfium/fpdfsdk/include/
Dfsdk_baseannot.h24 CPDFSDK_DateTime(const CPDFSDK_DateTime& datetime);
28 CPDFSDK_DateTime& operator = (const CPDFSDK_DateTime& datetime);
30 FX_BOOL operator == (CPDFSDK_DateTime& datetime);
31 FX_BOOL operator != (CPDFSDK_DateTime& datetime);
32 FX_BOOL operator > (CPDFSDK_DateTime& datetime);
33 FX_BOOL operator >= (CPDFSDK_DateTime& datetime);
34 FX_BOOL operator < (CPDFSDK_DateTime& datetime);
35 FX_BOOL operator <= (CPDFSDK_DateTime& datetime);
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/
Dalerts.py6 import datetime
19 if isinstance(obj, datetime.datetime):
65 'date': datetime.datetime.utcnow(),
Dinternal_alerts.py5 import datetime
27 'date': datetime.datetime.utcnow(),
/external/chromium_org/third_party/WebKit/Tools/Scripts/
Dprint-stale-test-expectations-entries33 import datetime
56 … parsed_time = datetime.datetime.strptime(last_updated.split(".")[0]+"UTC", "%Y-%m-%dT%H:%M:%S%Z")
57 time_delta = datetime.datetime.now() - parsed_time
/external/chromium_org/media/tools/layout_tests/
Dtest_expectations_history.py7 from datetime import datetime
8 from datetime import timedelta
82 (datetime.fromtimestamp(start) - (
125 datetime.fromtimestamp(
/external/chromium_org/third_party/WebKit/Tools/RebaselineLogServer/
Dmain.py29 import datetime
87 log_entry.date = datetime.datetime.now()
133 date = datetime.datetime.strptime(before, "%Y-%m-%dT%H:%M:%SZ")
/external/chromium_org/tools/chrome_proxy/integration_tests/
Dchrome_proxy_metrics.py5 import datetime
45 (retry_time < high + datetime.timedelta(seconds=grace_seconds)))
217 retry_time_low = (datetime.datetime.now() +
218 datetime.timedelta(seconds=retry_seconds_low))
219 retry_time_high = (datetime.datetime.now() +
220 datetime.timedelta(seconds=retry_seconds_high))
221 got_retry_time = datetime.datetime.fromtimestamp(int(p['retry'])/1000)
/external/gtest/test/
Dgtest_xml_output_unittest.py36 import datetime
190 date_time_from_xml = datetime.datetime(
195 time_delta = abs(datetime.datetime.now() - date_time_from_xml)
197 self.assertTrue(time_delta < datetime.timedelta(seconds=600),
/external/chromium_org/testing/gtest/test/
Dgtest_xml_output_unittest.py36 import datetime
190 date_time_from_xml = datetime.datetime(
195 time_delta = abs(datetime.datetime.now() - date_time_from_xml)
197 self.assertTrue(time_delta < datetime.timedelta(seconds=600),
/external/lldb/test/unittest2/test/
Dtest_assertions.py1 import datetime
54 first = datetime.datetime.now()
55 second = first + datetime.timedelta(seconds=10)
57 delta=datetime.timedelta(seconds=20))
59 delta=datetime.timedelta(seconds=5))
/external/clang/utils/CIndex/
Dcompletion_logger_server.py5 import datetime
33 f.write("\"time\": \"{0}\"".format(datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
/external/chromium_org/third_party/android_testrunner/
Dlogger.py24 import datetime
63 return "# %s: %s" % (datetime.datetime.now().strftime("%m/%d/%y %H:%M:%S"),
/external/chromium_org/tools/memory_inspector/memory_inspector/data/
Dfile_storage.py16 import datetime
111 self._cur_snapshot = Archive._TimestampToStr(datetime.datetime.now())
116 return datetime.datetime.strptime(self._cur_snapshot, Archive._TIME_FMT)
123 timestamps = [datetime.datetime.strptime(x, Archive._TIME_FMT)
/external/chromium_org/build/android/
Dtombstones.py12 import datetime
37 t = datetime.datetime.strptime(details[-3] + ' ' + details[-2],
52 return datetime.datetime.strptime(
/external/chromium_org/tools/telemetry/telemetry/results/
Dhtml_output_formatter.py5 import datetime
54 return _DatetimeInEs5CompatibleFormat(datetime.datetime.utcnow())
127 file_name = 'html-results/results-%s' % datetime.datetime.now().strftime(
/external/chromium_org/tools/gdb/
Dgdb_chrome.py19 import datetime
195 self._timedelta = datetime.timedelta(microseconds=int(val['delta_']))
207 self._timedelta = datetime.timedelta(microseconds=int(val['ticks_']))
215 self._datetime = (datetime.datetime.fromtimestamp(0) +
216 datetime.timedelta(microseconds=
219 def datetime(self): member in TimePrinter
/external/chromium_org/net/tools/quic/benchmark/
Drun_client.py8 import datetime
38 datetm = datetm or datetime.datetime.utcnow()
39 diff = datetm - datetime.datetime.utcfromtimestamp(0)
/external/lldb/test/functionalities/command_source/
Dmy.py2 import datetime
3 today = datetime.date.today()
/external/chromium_org/chrome/common/extensions/docs/server2/
Dcaching_rietveld_patcher_test.py9 from datetime import datetime
21 def __init__(self, time=datetime.now()):
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/
Dreflectionhandler.py33 import datetime
136 expires_time = (datetime.datetime.now() +
137 datetime.timedelta(0, cacheable_seconds))
/external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/
Dcommon.py43 import datetime
347 dt = datetime.datetime.strptime(parsable, _DT_FORMAT)
362 dt = datetime.datetime.utcfromtimestamp(posix)

123456