userver: userver/utils/datetime/cpp_20_calendar.hpp Source File
Loading...
Searching...
No Matches
cpp_20_calendar.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/utils/datetime/cpp_20_calendar.hpp
4/// @brief This file brings date.h into utils::datetime::date namespace,
5/// which is std::chrono::operator/ (calendar) in c++20.
6/// @ingroup userver_universal
7
8// TODO : replace with C++20 std::chrono:: when time comes
9
10#include <date/date.h>
11
12USERVER_NAMESPACE_BEGIN
13
14namespace utils::datetime {
15
16namespace date = ::date;
17
18}
19
20USERVER_NAMESPACE_END