mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 16:57:16 +01:00
48 lines
1.4 KiB
C++
48 lines
1.4 KiB
C++
// ------------------------------------------------------------------------------------------------
|
|
#include "Library/Chrono/Date.hpp"
|
|
#include "Library/Chrono/Time.hpp"
|
|
#include "Library/Chrono/Datetime.hpp"
|
|
#include "Base/Shared.hpp"
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
namespace SqMod {
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
SQInteger Date::Typename(HSQUIRRELVM vm)
|
|
{
|
|
static SQChar name[] = _SC("SqChronoDate");
|
|
sq_pushstring(vm, name, sizeof(name));
|
|
return 1;
|
|
}
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
Date Date::operator + (const Date & o) const
|
|
{
|
|
return Date(o);
|
|
}
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
Date Date::operator - (const Date & o) const
|
|
{
|
|
return Date(o);
|
|
}
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
Date Date::operator * (const Date & o) const
|
|
{
|
|
return Date(o);
|
|
}
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
Date Date::operator / (const Date & o) const
|
|
{
|
|
return Date(o);
|
|
}
|
|
|
|
// ================================================================================================
|
|
void Register_ChronoDate(HSQUIRRELVM vm, Table & cns)
|
|
{
|
|
|
|
}
|
|
|
|
} // Namespace:: SqMod
|