mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
18 lines
408 B
C++
18 lines
408 B
C++
|
// Copyright 2020 yuzu Emulator Project
|
||
|
// Licensed under GPLv2 or any later version
|
||
|
// Refer to the license.txt file included.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#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
|
||
|
int GetCurrentOffsetSeconds();
|
||
|
|
||
|
} // namespace Common::TimeZone
|