// SPDX-License-Identifier: GPL-2.0 #ifndef TIME_H #define TIME_H #include "units.h" #include #ifdef __cplusplus extern "C" { #endif extern timestamp_t utc_mktime(struct tm *tm); extern void utc_mkdate(timestamp_t, struct tm *tm); extern int utc_year(timestamp_t timestamp); extern int utc_weekday(timestamp_t timestamp); #ifdef __cplusplus } #endif #endif