summaryrefslogtreecommitdiff
path: root/src/tz_str.hh
blob: d706197ec83dd37f0a330749f5b61ef86ee642af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef TZ_STR_HH
#define TZ_STR_HH

#include <optional>
#include <string_view>

#include "time.h"

namespace tz {

std::optional<time_t> get_local_time(std::string_view tz_str,
                                     time_t utc_time);

}  // namespace tz

#endif  // TZ_STR_HH