17 #include <gwenhywfar/gwentime.h> 39 : m_ptr(GWEN_Time_new(year, month, day,
40 hour, min, sec, inUtc))
46 struct tm AB_CXXWRAP_GET0_CONST(toTm, GWEN_Time_toTm);
54 return GWEN_Time_GetBrokenDownDate(m_ptr, &day, &month, &year);
61 return GWEN_Time_GetBrokenDownUtcDate(m_ptr, &day, &month, &year);
66 return GWEN_CurrentTime();
int getBrokenDownUtcDate(int &day, int &month, int &year)
static Time currentTime()
uint32_t AB_CXXWRAP_GET0_CONST(seconds, GWEN_Time_Seconds)
int getBrokenDownDate(int &day, int &month, int &year)
Time(int year, int month, int day, int hour, int min, int sec, int inUtc)
AB_CXXWRAP_CONSTRUCTORS(Time, GWEN_Time)