blob: b1c295236eb571aeebf2bdeac5889a50b42fd4dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <util/datetime/base.h>
namespace google::protobuf {
class Duration;
class Timestamp;
}
namespace NProtoInterop {
google::protobuf::Duration CastToProto(TDuration duration);
google::protobuf::Timestamp CastToProto(TInstant instant);
TDuration CastFromProto(const google::protobuf::Duration& message);
TInstant CastFromProto(const google::protobuf::Timestamp& message);
}
|