Qpid Proton C++ API  0.17.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
timestamp Class Reference

A 64-bit timestamp in milliseconds since the Unix epoch. More...

#include <timestamp.hpp>

Inheritance diagram for timestamp:

Public Types

typedef int64_t numeric_type
 A numeric type holding a milliseconds value.
 

Public Member Functions

 timestamp (numeric_type ms=0)
 Construct from milliseconds.
 
timestampoperator= (numeric_type ms)
 Assign from milliseconds.
 
numeric_type milliseconds () const
 Get milliseconds.
 

Static Public Member Functions

static timestamp now ()
 The current wall-clock time.
 

Detailed Description

A 64-bit timestamp in milliseconds since the Unix epoch.

The dawn of the Unix epoch was 00:00:00 (UTC), 1 January 1970.

Examples:
service_bus.cpp.

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