LexLeo 0.0.0-dev+f8e5087-dirty
Technical documentation
Loading...
Searching...
No Matches
logger_default_utc_timestamp.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-3.0-or-later
2 * Copyright (C) 2026 Sylvain Labopin
3 */
4
15#ifndef LEXLEO_LOGGER_DEFAULT_UTC_TIMESTAMP_H
16#define LEXLEO_LOGGER_DEFAULT_UTC_TIMESTAMP_H
17
19
21
33 int32_t year;
34
36 int32_t month;
37
39 int32_t day;
40
42 int32_t hour;
43
45 int32_t minute;
46
48 int32_t second;
50
74 const osal_time_t *time);
75
76#endif //LEXLEO_LOGGER_DEFAULT_UTC_TIMESTAMP_H
bool logger_default_epoch_time_to_date(logger_default_utc_timestamp_t *out, const osal_time_t *time)
Convert an epoch-time value to a decomposed UTC timestamp.
Private UTC timestamp representation used by logger_default.