Searched refs:isoformat (Results 1 – 25 of 59) sorted by relevance
123
276 dates['reporting']['begin'].isoformat(),277 dates['reporting']['end'].isoformat(),278 dates['calibration']['begin'].isoformat(),279 dates['calibration']['end'].isoformat())298 print('{},{},{}'.format(dates['reporting']['begin'].isoformat(),299 dates['reporting']['end'].isoformat(),
59 return val.isoformat()62 return val.isoformat(" ")
58 return val.isoformat()61 return val.isoformat(" ")
1437 self.assertEqual(t.isoformat(), "0002-03-02")1826 dt_str = dt.isoformat()1828 dt_rt = self.theclass.fromisoformat(dt.isoformat())1838 dt_rt = DateSubclass.fromisoformat(dt.isoformat())1997 self.assertEqual(t.isoformat(), "0001-02-03T04:05:01.000123")1998 self.assertEqual(t.isoformat('T'), "0001-02-03T04:05:01.000123")1999 self.assertEqual(t.isoformat(' '), "0001-02-03 04:05:01.000123")2000 self.assertEqual(t.isoformat('\x00'), "0001-02-03\x0004:05:01.000123")2002 self.assertEqual(t.isoformat('\ud800'),2004 self.assertEqual(t.isoformat(timespec='hours'), "0001-02-03T04")[all …]
58 to_set[self._DATE_VPD] = rlz_embargo_end_date.isoformat()98 rlz_embargo_end_date = rlz_embargo_end_date.isoformat()
897 self.assertEqual(t.isoformat(), "0002-03-02")1233 self.assertEqual(t.isoformat(), "0002-03-02T04:05:01.000123")1234 self.assertEqual(t.isoformat('T'), "0002-03-02T04:05:01.000123")1235 self.assertEqual(t.isoformat(' '), "0002-03-02 04:05:01.000123")1236 self.assertEqual(t.isoformat('\x00'), "0002-03-02\x0004:05:01.000123")1241 self.assertEqual(t.isoformat(), "0002-03-02T00:00:00")1242 self.assertEqual(t.isoformat('T'), "0002-03-02T00:00:00")1243 self.assertEqual(t.isoformat(' '), "0002-03-02 00:00:00")1859 self.assertEqual(t.isoformat(), "04:05:01.000123")1860 self.assertEqual(t.isoformat(), str(t))[all …]
118 start = datetime.datetime.utcnow().isoformat()120 end = datetime.datetime.utcnow().isoformat()
168 self.assertEqual('0000-01-01T00:00:00', util.extended_datetime(0, 1, 1).isoformat())169 …tEqual('0000-01-01T00:00:00.001000', util.extended_datetime(0, 1, 1, microsecond=1000).isoformat())170 self.assertEqual('0000-01-01%00:00:00', util.extended_datetime(0, 1, 1).isoformat(sep='%'))173 self.assertEqual('0000-01-01', util.extended_date(0, 1, 1).isoformat())174 self.assertEqual('0000-11-27', util.extended_date(0, 11, 27).isoformat())
24 dtstr = dt.isoformat(sep=sep)
173 value = [i.isoformat() for i in value]175 value = value.isoformat()
385 def isoformat(self): member in extended_date650 def isoformat(self, sep='T'): member in extended_datetime721 return self.isoformat(sep=' ')
64 datetime.datetime.now().isoformat(' '),
123 datetime.timezone.utc).replace(microsecond=0).isoformat()316 current_time = datetime.datetime.now(datetime.timezone.utc).isoformat()
17 return t.astimezone().isoformat()
125 datetime.datetime.utcnow().replace(microsecond=0).isoformat()) + 'Z'
122 formatted = datetime.datetime.utcfromtimestamp(timestamp).isoformat()
67 w("/* Generated on %s */" % datetime.datetime.now().isoformat())
156 timestamp = datetime.datetime.isoformat(datetime.datetime.now())
301 result = [d.isoformat() for d in value]303 result = value.isoformat()
52 NAME + '_' + datetime.datetime.utcnow().isoformat())
64 NAME + '_' + datetime.datetime.utcnow().isoformat())
37 testsuites.set('timestamp', datetime.utcnow().isoformat(timespec='minutes'))