Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/rtc/
Drtc_emul.c21 struct rtc_time datetime; member
31 struct rtc_time datetime; member
60 static bool rtc_emul_is_leap_year(struct rtc_time *datetime) in rtc_emul_is_leap_year() argument
62 if ((datetime->tm_year % 400 == 0) || in rtc_emul_is_leap_year()
63 (((datetime->tm_year % 100) > 0) && ((datetime->tm_year % 4) == 0))) { in rtc_emul_is_leap_year()
107 static int rtc_emul_get_days_in_month(struct rtc_time *datetime) in rtc_emul_get_days_in_month() argument
109 const uint8_t *dim = (rtc_emul_is_leap_year(datetime) == true) ? in rtc_emul_get_days_in_month()
113 return dim[datetime->tm_mon]; in rtc_emul_get_days_in_month()
116 static void rtc_emul_increment_tm(struct rtc_time *datetime) in rtc_emul_increment_tm() argument
119 datetime->tm_sec++; in rtc_emul_increment_tm()
[all …]
/Zephyr-Core-3.5.0/tests/drivers/rtc/rtc_api_helpers/src/
Dtest_rtc_time_to_tm.c44 struct tm *datetime = NULL; in ZTEST() local
46 datetime = rtc_time_to_tm(&rtc_datetime); in ZTEST()
48 zassert(((struct tm *)&rtc_datetime) == datetime, "Incorrect typecast"); in ZTEST()
/Zephyr-Core-3.5.0/scripts/ci/
Dversion_mgr.py21 from datetime import datetime
74 pdate = datetime.strptime(item_compat['date'], '%Y-%m-%dT%H:%M:%S.%f')
104 today = datetime.now().strftime('%Y-%m-%dT%H:%M:%S.%f')
110 wday = datetime.today().strftime('%A')
/Zephyr-Core-3.5.0/boards/arm/mec172xevb_assy6906/support/
Dmec172x_remote_flasher.py53 from datetime import datetime
75 now = datetime.now().isoformat()
/Zephyr-Core-3.5.0/scripts/tracing/
Dparse_ctf.py22 import datetime
69 dt = datetime.datetime.fromtimestamp(ns_from_origin / 1e9)
/Zephyr-Core-3.5.0/scripts/footprint/
Dupload_data.py10 from datetime import datetime
22 TODAY = datetime.utcnow()
/Zephyr-Core-3.5.0/scripts/release/
Dbug_bash.py16 from datetime import datetime, timedelta
155 return datetime.strptime(arg_date_str, "%Y-%m-%d")
Dlist_backports.py35 from datetime import datetime, timedelta
52 return datetime.strptime(arg_date_str, "%Y-%m-%d")
99 setattr(args, 'end', datetime.now())
/Zephyr-Core-3.5.0/scripts/west_commands/zspdx/
Dwriter.py5 from datetime import datetime
/Zephyr-Core-3.5.0/samples/modules/tflite-micro/magic_wand/train/
Dtrain.py25 import datetime
32 logdir = "logs/scalars/" + datetime.datetime.now().strftime("%Y%m%d-%H%M%S")
/Zephyr-Core-3.5.0/scripts/
Dset_assignees.py10 import datetime
347 today = datetime.date.today()
348 since = today - datetime.timedelta(days=1)
/Zephyr-Core-3.5.0/scripts/pylib/pytest-twister-harness/src/twister_harness/device/
Ddevice_adapter.py15 from datetime import datetime
/Zephyr-Core-3.5.0/scripts/pylib/twister/twisterlib/
Denvironment.py18 from datetime import datetime, timezone
848 self.run_date = datetime.now(timezone.utc).isoformat(timespec='seconds')
Dreports.py13 from datetime import datetime
27 self.timestamp = datetime.now().isoformat()
/Zephyr-Core-3.5.0/doc/services/device_mgmt/smp_groups/
Dsmp_group_0.rst404 (str)"datetime" : (str)
436 | "datetime" | String in format: ``yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZZZZ``. |
473 (str)"datetime" : (str)
482 | "datetime" | String in format: ``yyyy-MM-dd'T'HH:mm:ss.SSSSSSZZZZZ``. |
/Zephyr-Core-3.5.0/doc/kernel/
Dtimeutil.rst115 <https://www.loc.gov/standards/datetime/iso-tc154-wg5_n0038_iso_wd_8601-1_2016-02-16.pdf>`__