BSB Developer Docs
Loading...
Searching...
No Matches
js_app_settings_time.h
Go to the documentation of this file.
1
5#pragma once
6
7#include <furi.h>
8#include <utz/utz.h>
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
17typedef struct {
18 utz_time_t time;
21
29bool js_app_settings_time_parse(const char* string, JsAppSettingsTimeValue* value);
30
37void js_app_settings_time_format(const JsAppSettingsTimeValue* value, FuriString* string);
38
39#ifdef __cplusplus
40}
41#endif
void js_app_settings_time_format(const JsAppSettingsTimeValue *value, FuriString *string)
Format a time of day as a string.
Definition js_app_settings_time.c:66
bool js_app_settings_time_parse(const char *string, JsAppSettingsTimeValue *value)
Parse a time of day string.
Definition js_app_settings_time.c:38
Time of day value.
Definition js_app_settings_time.h:17
bool has_seconds
Whether seconds are part of the value.
Definition js_app_settings_time.h:19
utz_time_t time
Time of day.
Definition js_app_settings_time.h:18