blob: 4b9f32716e028cc96889847d05e50192c5367b4b [file] [log] [blame]
#ifndef THIRD_PARTY_MILOTIC_EXTERNAL_CC_TLBMC_TIME_TIME_H_
#define THIRD_PARTY_MILOTIC_EXTERNAL_CC_TLBMC_TIME_TIME_H_
#include "google/protobuf/duration.pb.h"
#include "google/protobuf/timestamp.pb.h"
#include "absl/time/clock.h"
#include "absl/time/time.h"
namespace milotic_tlbmc {
google::protobuf::Timestamp Now(absl::Time time = absl::Now());
google::protobuf::Duration EncodeGoogleApiProto(absl::Duration d);
absl::Time DecodeGoogleApiProto(const google::protobuf::Timestamp& timestamp);
absl::Duration DecodeGoogleApiProto(const google::protobuf::Duration& duration);
} // namespace milotic_tlbmc
#endif // THIRD_PARTY_MILOTIC_EXTERNAL_CC_TLBMC_TIME_TIME_H_