swh:1:snp:3cba5856b0ddc3feab6c3c2d096d614b02c883ec
Tip revision: aaa5eab410c2e3fe41ebf7a2316be9c51572dbd2 authored by Brad King on 20 August 2020, 12:20:32 UTC
CMake 3.18.2
CMake 3.18.2
Tip revision: aaa5eab
cm_get_date.h
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#ifndef cm_get_date_h
#define cm_get_date_h
#include <time.h> /* NOLINT(modernize-deprecated-headers) */
#ifdef __cplusplus
extern "C" {
#endif
/** Parse a date/time string. Treat relative times with respect to 'now'. */
time_t cm_get_date(time_t now, const char* str);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif