30 lines
613 B
C++
30 lines
613 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: Time.hpp
|
|
Date: 2021-6-9
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
#include <Aurora/Time/ETimezoneShift.hpp>
|
|
#include <Aurora/Time/EClock.hpp>
|
|
#include <Aurora/Locale/LocaleStrings.hpp>
|
|
|
|
#include "IClock.hpp"
|
|
|
|
namespace Aurora::Time
|
|
{
|
|
static AuString ConvertMSToTimescale(AuUInt32 ms)
|
|
{
|
|
return Locale::ConvertMSToTimescale(ms);
|
|
}
|
|
|
|
static AuString ConvertNSToTimescale(AuUInt64 ns)
|
|
{
|
|
return Locale::ConvertNSToTimescale(ns);
|
|
}
|
|
}
|
|
|
|
#include "Stopwatch.hpp"
|
|
#include "DebugBenchmark.hpp" |