Searched refs:utc_time (Results 1 – 5 of 5) sorted by relevance
47 utc_time = UTCTimeField("Test", None, epoch=local_time)48 assert time.localtime(utc_time.epoch) == local_time49 assert time.mktime(time.gmtime(utc_time.delta)) == time.mktime(local_time)52 assert utc_time.i2repr(None, None) == (strft_time + " (" + str(int(utc_time.delta)) + ")")
545 def _datetime_to_secs(utc_time): argument549 time_delta = utc_time - epoch
133 #define utc_time utcTime macro249 unsigned char utc_time[16]; member1295 #undef utc_time
5666 PyObject *local_time, *utc_time; in local_timezone_from_timestamp() local5682 utc_time = new_datetime(utc_time_tm.tm_year + 1900, in local_timezone_from_timestamp()5688 if (utc_time == NULL) { in local_timezone_from_timestamp()5692 delta = datetime_subtract(local_time, utc_time); in local_timezone_from_timestamp()5694 Py_DECREF(utc_time); in local_timezone_from_timestamp()5713 local_timezone(PyDateTime_DateTime *utc_time) in local_timezone() argument5720 delta = datetime_subtract((PyObject *)utc_time, PyDateTime_Epoch); in local_timezone()
288 using utc_time = time_point<utc_clock, Duration>; // C++20289 using utc_seconds = utc_time<seconds>; // C++20