SeComLib
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
Static Public Member Functions | Private Member Functions | List of all members
SeComLib::Utils::DateTime Class Reference

Utilitary class providing date and time functions. More...

#include <date_time.h>

Static Public Member Functions

static std::string Now (const std::string &format="%H:%M:%S")
 Returns the formatted current time. More...
 

Private Member Functions

 DateTime ()
 Default constructor - not implemented.
 
 ~DateTime ()
 Destructor - void implementation.
 
 DateTime (DateTime const &)
 Copy constructor - not implemented.
 
DateTime operator= (DateTime const &)
 Copy assignment operator - not implemented.
 

Detailed Description

Utilitary class providing date and time functions.

Definition at line 47 of file date_time.h.

Member Function Documentation

std::string SeComLib::Utils::DateTime::Now ( const std::string &  format = "%H:%M:%S")
static

Returns the formatted current time.

Parameters
formatthe format of the output string (defaults to "%H:%M:%S")
Returns
a string representation of the current time

Get current time

Definition at line 38 of file date_time.cpp.


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