Home
last modified time | relevance | path

Searched refs:dt1 (Results 1 – 10 of 10) sorted by relevance

/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dvideotimecode.c315 GDateTime *dt1, *dt2; in GST_START_TEST() local
317 dt1 = g_date_time_new_utc (2016, 7, 29, 10, 32, 50); in GST_START_TEST()
320 gst_video_time_code_new (50, 1, dt1, in GST_START_TEST()
339 g_date_time_unref (dt1); in GST_START_TEST()
347 GDateTime *dt1; in GST_START_TEST() local
349 dt1 = g_date_time_new_utc (2016, 7, 29, 10, 32, 50); in GST_START_TEST()
352 gst_video_time_code_new (50, 1, dt1, in GST_START_TEST()
363 g_date_time_unref (dt1); in GST_START_TEST()
/third_party/python/Lib/test/
Ddatetimetester.py150 dt1 = datetime(2014, 7, 21, 11, 32, 3, 0, tz1)
152 dt1.utcoffset()
1723 dt1 = self.theclass(*args)
1729 self.assertEqual(dt1.toordinal(), dt2.toordinal())
1730 self.assertEqual(dt2.newmeth(-7), dt1.year + dt1.month - 7)
2115 dt1 = self.theclass(2002, 3, 1, 9, 0, 0)
2118 self.assertEqual(dt1, dt3)
2126 dt1 = self.theclass(MAXYEAR, 12, 31, 23, 59, 59, 999998)
2128 dt2 = dt1 + us
2129 self.assertEqual(dt2 - dt1, us)
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideotimecode.c573 GDateTime *dt1, *dt2; in gst_video_time_code_compare() local
576 dt1 = gst_video_time_code_to_date_time (tc1); in gst_video_time_code_compare()
579 ret = g_date_time_compare (dt1, dt2); in gst_video_time_code_compare()
581 g_date_time_unref (dt1); in gst_video_time_code_compare()
/third_party/gstreamer/gstreamer/gst/
Dgstdatetime.c654 __gst_date_time_compare (const GstDateTime * dt1, const GstDateTime * dt2) in __gst_date_time_compare() argument
660 if (dt1->fields != dt2->fields) in __gst_date_time_compare()
667 g_date_time_to_unix (dt1->datetime) - g_date_time_to_unix (dt2->datetime); in __gst_date_time_compare()
Dgst_private.h227 gint __gst_date_time_compare (const GstDateTime * dt1, const GstDateTime * dt2);
/third_party/python/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py561 dt1 = datetime(1883, 6, 10, 1, tzinfo=zi)
563 for dt, offset in [(dt0, LMT), (dt1, STD)]:
/third_party/icu/icu4c/source/test/intltest/
Ddtfmttst.cpp3672 UDate dt1 = date(2008-1900, UCAL_JUNE, 10, 12, 00); in Test6338() local
3674 str1 = fmt1.format(dt1, str1); in Test6338()
3988 UDate dt1 = fmt1->parse(in, status); in TestISOEra() local
3993 out = fmt1->format(dt1, out); in TestISOEra()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateFormatTest.java3994 Date dt1; in TestISOEra() local
3997 dt1 = fmt1.parse(in); in TestISOEra()
4006 out = fmt1.format(dt1); in TestISOEra()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java4078 Date dt1; in TestISOEra() local
4081 dt1 = fmt1.parse(in); in TestISOEra()
4090 out = fmt1.format(dt1); in TestISOEra()
/third_party/python/Doc/library/
Ddatetime.rst1628 >>> dt1 = datetime(1900, 11, 21, 16, 30, tzinfo=tz1)
1629 >>> print(dt1.utcoffset())