Home
last modified time | relevance | path

Searched refs:formatTime (Results 1 – 14 of 14) sorted by relevance

/third_party/node/test/parallel/
Dtest-console-formatTime.js4 const { formatTime } = require('internal/console/constructor');
7 assert.strictEqual(formatTime(100.0096), '100.01ms');
8 assert.strictEqual(formatTime(100.0115), '100.011ms');
9 assert.strictEqual(formatTime(1500.04), '1.500s');
10 assert.strictEqual(formatTime(1000.056), '1.000s');
11 assert.strictEqual(formatTime(60300.3), '1:00.300 (m:ss.mmm)');
12 assert.strictEqual(formatTime(4000457.4), '1:06:40.457 (h:mm:ss.mmm)');
13 assert.strictEqual(formatTime(3601310.4), '1:00:01.310 (h:mm:ss.mmm)');
14 assert.strictEqual(formatTime(3213601017.6), '892:40:01.018 (h:mm:ss.mmm)');
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dwindtfmt.cpp250 formatTime(&st_local, time); in format()
260 formatTime(&st_local, appendTo); in format()
340 void Win32DateFormat::formatTime(const SYSTEMTIME *st, UnicodeString &appendTo) const in formatTime() function in Win32DateFormat
Dwindtfmt.h118 void formatTime(const SYSTEMTIME *st, UnicodeString &appendTo) const;
/third_party/icu/icu4c/source/i18n/
Dwindtfmt.cpp256 formatTime(&st_local, time); in format()
266 formatTime(&st_local, appendTo); in format()
346 void Win32DateFormat::formatTime(const SYSTEMTIME *st, UnicodeString &appendTo) const in formatTime() function in Win32DateFormat
Dwindtfmt.h118 void formatTime(const SYSTEMTIME *st, UnicodeString &appendTo) const;
/third_party/skia/third_party/externals/icu/source/i18n/
Dwindtfmt.cpp251 formatTime(&st_local, time); in format()
261 formatTime(&st_local, appendTo); in format()
341 void Win32DateFormat::formatTime(const SYSTEMTIME *st, UnicodeString &appendTo) const in formatTime() function in Win32DateFormat
Dwindtfmt.h118 void formatTime(const SYSTEMTIME *st, UnicodeString &appendTo) const;
/third_party/node/deps/icu-small/source/i18n/
Dwindtfmt.cpp251 formatTime(&st_local, time); in format()
261 formatTime(&st_local, appendTo); in format()
341 void Win32DateFormat::formatTime(const SYSTEMTIME *st, UnicodeString &appendTo) const in formatTime() function in Win32DateFormat
Dwindtfmt.h118 void formatTime(const SYSTEMTIME *st, UnicodeString &appendTo) const;
/third_party/node/lib/internal/console/
Dconstructor.js608 const formatted = formatTime(ms);
622 function formatTime(ms) { function
677 formatTime // exported for tests field
/third_party/mindspore/mindspore/
Dlog.py106 def formatTime(self, record, datefmt=None): member in _DataFormatter
/third_party/python/Lib/logging/
D__init__.py597 def formatTime(self, record, datefmt=None): member in Formatter
680 record.asctime = self.formatTime(record, self.datefmt)
/third_party/python/Doc/library/
Dlogging.rst547 is used which is described in the :meth:`formatTime` documentation.
578 formatting string contains ``'(asctime)'``, :meth:`formatTime` is called
594 .. method:: formatTime(record, datefmt=None)
/third_party/python/Lib/test/
Dtest_logging.py4004 self.assertEqual(f.formatTime(r), '1993-04-21 08:03:00,123')
4005 self.assertEqual(f.formatTime(r, '%Y:%d'), '1993:21')
4019 self.assertEqual(f.formatTime(r), '21/04/1993 08:03:00')