mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 19:17:33 +01:00
19 lines
443 B
C++
19 lines
443 B
C++
// Copyright 2020 yuzu Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <chrono>
|
|
#include <string>
|
|
|
|
namespace Common::TimeZone {
|
|
|
|
/// Gets the default timezone, i.e. "GMT"
|
|
std::string GetDefaultTimeZone();
|
|
|
|
/// Gets the offset of the current timezone (from the default), in seconds
|
|
std::chrono::seconds GetCurrentOffsetSeconds();
|
|
|
|
} // namespace Common::TimeZone
|