blob: 3abb525e5eb844fa782999f363f7e6a7075f5638 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright 2024 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
#include <ctime>
#include <optional>
namespace Common
{
// Threadsafe and error-checking variant of std::localtime()
std::optional<std::tm> LocalTime(std::time_t time);
} // Namespace Common
|