mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-11-04 11:10: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(uint32_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
 |