B2BITS FIX Antenna C++  2.31.0
Public Member Functions | List of all members
Engine::TimezoneConverter Class Referenceabstract

#include <B2BITS_PubEngineDefines.h>

+ Inheritance diagram for Engine::TimezoneConverter:
+ Collaboration diagram for Engine::TimezoneConverter:

Public Member Functions

virtual struct tm getLocalfromUTC (const time_t &timestamp, const std::string &tz) const =0
 
virtual time_t getUTCfromLocal (const struct tm &timeTm, const std::string &tz) const =0
 
virtual bool isValidTimezone (const std::string &tz) const =0
 
- Public Member Functions inherited from Utils::ReferenceCounter
virtual bool addRef () const throw ()
 Increments reference counter. More...
 
virtual long getNRef () const throw ()
 Returns the current value of the reference counter. More...
 
 ReferenceCounter () throw ()
 Constructor. More...
 
virtual long release () const throw ()
 Decrements reference counter. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Utils::ReferenceCounter
long decrement () const throw ()
 Decrements counter and returns new counter value. More...
 
long increment () const throw ()
 Increments counter and returns new counter value. More...
 
virtual ~ReferenceCounter ()
 Destructor. More...
 

Member Function Documentation

◆ getLocalfromUTC()

virtual struct tm Engine::TimezoneConverter::getLocalfromUTC ( const time_t &  timestamp,
const std::string &  tz 
) const
pure virtual

◆ getUTCfromLocal()

virtual time_t Engine::TimezoneConverter::getUTCfromLocal ( const struct tm &  timeTm,
const std::string &  tz 
) const
pure virtual

◆ isValidTimezone()

virtual bool Engine::TimezoneConverter::isValidTimezone ( const std::string &  tz) const
pure virtual