// Generated by Haxe 4.3.3
#ifndef INCLUDED_Date
#define INCLUDED_Date
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_8e4589df03e4f3cc_26_new)
HX_DECLARE_CLASS0(Date)
class HXCPP_CLASS_ATTRIBUTES Date_obj : public ::hx::Object
{
public:
typedef ::hx::Object super;
typedef Date_obj OBJ_;
Date_obj();
public:
enum { _hx_ClassId = 0x018f7872 };
void __construct(int year,int month,int day,int hour,int min,int sec);
inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="Date")
{ return ::hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return ::hx::Object::operator new(inSize+extra,false,"Date"); }
inline static ::hx::ObjectPtr< Date_obj > __new(int year,int month,int day,int hour,int min,int sec) {
::hx::ObjectPtr< Date_obj > __this = new Date_obj();
__this->__construct(year,month,day,hour,min,sec);
return __this;
}
inline static ::hx::ObjectPtr< Date_obj > __alloc(::hx::Ctx *_hx_ctx,int year,int month,int day,int hour,int min,int sec) {
Date_obj *__this = (Date_obj*)(::hx::Ctx::alloc(_hx_ctx, sizeof(Date_obj), false, "Date"));
*(void **)__this = Date_obj::_hx_vtable;
{
HX_STACKFRAME(&_hx_pos_8e4589df03e4f3cc_26_new)
HXDLIN( 26) ( ( ::Date)(__this) )->mSeconds = ::__hxcpp_new_date(year,month,day,hour,min,sec);
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(::hx::DynamicArray inArgs);
//~Date_obj();
HX_DO_RTTI_ALL;
::hx::Val __Field(const ::String &inString, ::hx::PropertyAccess inCallProp);
static bool __GetStatic(const ::String &inString, Dynamic &outValue, ::hx::PropertyAccess inCallProp);
::hx::Val __SetField(const ::String &inString,const ::hx::Val &inValue, ::hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("Date",4e,82,3c,2d); }
static ::Date now();
static ::Dynamic now_dyn();
static ::Date fromTime(Float t);
static ::Dynamic fromTime_dyn();
Float mSeconds;
Float getTime();
::Dynamic getTime_dyn();
int getUTCHours();
::Dynamic getUTCHours_dyn();
int getUTCMinutes();
::Dynamic getUTCMinutes_dyn();
int getUTCSeconds();
::Dynamic getUTCSeconds_dyn();
int getUTCFullYear();
::Dynamic getUTCFullYear_dyn();
int getUTCMonth();
::Dynamic getUTCMonth_dyn();
int getUTCDate();
::Dynamic getUTCDate_dyn();
virtual ::String toString();
::Dynamic toString_dyn();
};
#endif /* INCLUDED_Date */