Google OR-Tools: util_time Namespace Reference

Functions

inline ::absl::StatusOr< google::protobuf::Duration > EncodeGoogleApiProto (absl::Duration d)
inline ::absl::Status EncodeGoogleApiProto (absl::Duration d, google::protobuf::Duration *proto)
inline ::absl::StatusOr< absl::Duration > DecodeGoogleApiProto (const google::protobuf::Duration &proto)

◆ DecodeGoogleApiProto()

inline ::absl::StatusOr< absl::Duration > util_time::DecodeGoogleApiProto ( const google::protobuf::Duration & proto)

◆ EncodeGoogleApiProto() [1/2]

inline ::absl::StatusOr< google::protobuf::Duration > util_time::EncodeGoogleApiProto ( absl::Duration d)

◆ EncodeGoogleApiProto() [2/2]

inline ::absl::Status util_time::EncodeGoogleApiProto ( absl::Duration d,
google::protobuf::Duration * proto )