mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 01:30:05 +00:00
18 lines
488 B
C++
18 lines
488 B
C++
#pragma once
|
|
|
|
#include <chrono>
|
|
|
|
namespace scwx
|
|
{
|
|
namespace util
|
|
{
|
|
|
|
std::chrono::system_clock::time_point TimePoint(uint16_t modifiedJulianDate,
|
|
uint32_t milliseconds);
|
|
|
|
std::string TimeString(std::chrono::system_clock::time_point time,
|
|
const std::chrono::time_zone* timeZone = nullptr,
|
|
bool epochValid = true);
|
|
|
|
} // namespace util
|
|
} // namespace scwx
|