Go to the documentation of this file.
17 int div = int(std::pow(10, 3 - decimals));
18 ss <<
"." << std::setfill(
'0') << std::setw(decimals)
28 static const char* mu =
"\u03BC";
38 ss << time.
toString(
"%Y-%m-%d %H:%M:%S");
41 int div = int(std::pow(10, 6 - decimals));
42 ss <<
"." << std::setfill(
'0') << std::setw(decimals)
Time timeFromStringMicroSeconds(const std::string µSeconds)
Get a Time from the microseconds as text.
std::string toDateTimeMilliSeconds(const Time &time, int decimals=6)
Returns timeas e.g.
std::string toStringMilliSeconds(const Time &time, int decimals=3)
Returns time as e.g.
std::string toStringMicroSeconds(const Time &time)
Returns time as e.g.
std::int64_t toMicroSecondsSinceEpoch() const
armarx::core::time::DateTime Time
Represents a point in time.
std::string toString(const std::string &format) const
String representation of current date time according to given format string.
static Duration MicroSeconds(std::int64_t microSeconds)
Constructs a duration in microseconds.
This file offers overloads of toIce() and fromIce() functions for STL container types.