/***************************************************************************
*                                                                          *
*  Copyright (C) Golaem S.A.  All Rights Reserved.                         *
*                                                                          *
***************************************************************************/

#pragma once

#include "glmTypes.h"
#include "glmCoreAPI.h"

namespace glm
{
	class GLM_CORE_API GlmDateTime
	{
	public:

		uint64_t _Year : 15;
		uint64_t _Month : 4;
		uint64_t _DayOfYear : 9;
		uint64_t _DayOfMonth : 5;
		uint64_t _DayOfWeek : 4;
		uint64_t _Hour : 5;
		uint64_t _Minute : 6;
		uint64_t _Second : 6;
		uint64_t _Milliseconds : 10;

		static GlmDateTime getTimeGMT();
		static int convertDateTimeToString(const GlmDateTime time, char* timeStringBuffer, size_t timeStringBufferSize);
	};
}
