5#include "proto/tbots_timestamp_msg.pb.h"
6#include "software/time/duration.h"
7#include "software/time/time.h"
55 const TbotsProto::Timestamp& timestamp_proto);
158 explicit Timestamp(
double timestamp_seconds);
Definition timestamp.h:21
Timestamp operator+(const Duration &duration) const
Definition timestamp.cpp:34
bool operator<=(const Timestamp &other) const
Definition timestamp.cpp:64
Timestamp()
Definition timestamp.cpp:7
friend std::ostream & operator<<(std::ostream &output_stream, const Timestamp &time)
Definition timestamp.cpp:79
bool operator<(const Timestamp &other) const
Definition timestamp.cpp:49
Timestamp operator-(const Duration &duration) const
Definition timestamp.cpp:69
bool operator==(const Timestamp &other) const
Definition timestamp.cpp:39
bool operator>=(const Timestamp &other) const
Definition timestamp.cpp:54
static const Timestamp fromTimestampProto(const TbotsProto::Timestamp ×tamp_proto)
Definition timestamp.cpp:28
bool operator!=(const Timestamp &other) const
Definition timestamp.cpp:44
static const Timestamp fromSeconds(double seconds)
Definition timestamp.cpp:18
bool operator>(const Timestamp &other) const
Definition timestamp.cpp:59
static const Timestamp fromMilliseconds(double milliseconds)
Definition timestamp.cpp:23