/**
    TimeType.cpp
    Auto-generated code - do not modify.
    thinglang C++ transpiler, 0.0.0
**/


#include "../InternalTypes.h"
#include "../../execution/Program.h"

/**
Methods of TimeType
**/


void TimeType::__constructor__() {
    Program::push(Program::create<TimeInstance>());
}


void TimeType::now() {
    Program::push(Program::create<NumberInstance>(std::chrono::system_clock::now().time_since_epoch().count()));
}


/**
    TimeType.cpp
    Auto-generated code - do not modify.
    thinglang C++ transpiler, 0.0.0
**/


#include "../InternalTypes.h"
#include "../../execution/Program.h"

/**
Methods of TimeType
**/


void TimeType::__constructor__() {
    Program::push(Program::create<TimeInstance>());
}


void TimeType::now() {
    Program::push(Program::create<NumberInstance>(time(nullptr)));
}


Use standard time() call for Time.now()
Use standard time() call for Time.now()
