AppChat  0.5.0
TCP client-server caht application with boost::asio library.
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
DateTime Struct Reference

Public Member Functions

 DateTime (const boost::posix_time::ptime &ptime)
 
std::string to_simple_date () const
 
std::string to_simple_time () const
 

Static Public Member Functions

static DateTime from_universal_to_local (DateTime dt)
 

Public Attributes

uint8_t hours
 
uint8_t minutes
 
uint8_t seconds
 
uint8_t day
 
uint8_t month
 
uint8_t year
 

Friends

bool operator== (DateTime lhs, DateTime rhs)
 
bool operator< (DateTime lhs, DateTime rhs)
 

The documentation for this struct was generated from the following files: