aqbanking  5.7.8
Public Types | Public Member Functions | Static Public Member Functions
AB::Time Class Reference

#include <time.hpp>

Public Types

typedef GWEN_TIME wrapped_type
 

Public Member Functions

 Time (int year, int month, int day, int hour, int min, int sec, int inUtc)
 
 AB_CXXWRAP_CONSTRUCTORS (Time, GWEN_Time)
 
uint32_t AB_CXXWRAP_GET0_CONST (seconds, GWEN_Time_Seconds)
 
double AB_CXXWRAP_GET0_CONST (milliseconds, GWEN_Time_Milliseconds)
 
struct tm AB_CXXWRAP_GET0_CONST (toTm, GWEN_Time_toTm)
 
time_t AB_CXXWRAP_GET0_CONST (toTime_t, GWEN_Time_toTime_t)
 
int getBrokenDownDate (int &day, int &month, int &year)
 
int getBrokenDownUtcDate (int &day, int &month, int &year)
 

Static Public Member Functions

static Time currentTime ()
 

Detailed Description

A wrapper class around the GWEN_TIME type

Definition at line 24 of file time.hpp.

Member Typedef Documentation

◆ wrapped_type

typedef GWEN_TIME AB::Time::wrapped_type

Definition at line 27 of file time.hpp.

Constructor & Destructor Documentation

◆ Time()

AB::Time::Time ( int  year,
int  month,
int  day,
int  hour,
int  min,
int  sec,
int  inUtc 
)
inline

Definition at line 32 of file time.hpp.

References AB_CXXWRAP_CONSTRUCTORS(), and AB_CXXWRAP_GET0_CONST().

Member Function Documentation

◆ AB_CXXWRAP_CONSTRUCTORS()

AB::Time::AB_CXXWRAP_CONSTRUCTORS ( Time  ,
GWEN_Time   
)

Referenced by Time().

◆ AB_CXXWRAP_GET0_CONST() [1/4]

uint32_t AB::Time::AB_CXXWRAP_GET0_CONST ( seconds  ,
GWEN_Time_Seconds   
)

Referenced by Time().

◆ AB_CXXWRAP_GET0_CONST() [2/4]

struct tm AB::Time::AB_CXXWRAP_GET0_CONST ( toTm  ,
GWEN_Time_toTm   
)

◆ AB_CXXWRAP_GET0_CONST() [3/4]

double AB::Time::AB_CXXWRAP_GET0_CONST ( milliseconds  ,
GWEN_Time_Milliseconds   
)

◆ AB_CXXWRAP_GET0_CONST() [4/4]

time_t AB::Time::AB_CXXWRAP_GET0_CONST ( toTime_t  ,
GWEN_Time_toTime_t   
)

◆ currentTime()

static Time AB::Time::currentTime ( )
inlinestatic

Definition at line 64 of file time.hpp.

◆ getBrokenDownDate()

int AB::Time::getBrokenDownDate ( int &  day,
int &  month,
int &  year 
)
inline

Returns the broken down date as local date.

Definition at line 52 of file time.hpp.

◆ getBrokenDownUtcDate()

int AB::Time::getBrokenDownUtcDate ( int &  day,
int &  month,
int &  year 
)
inline

Returns the broken down time as UTC date (Greenwhich Mean time).

Definition at line 59 of file time.hpp.


The documentation for this class was generated from the following file: