Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
util_time Namespace Reference

Detailed Description

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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)

Function Documentation

◆ DecodeGoogleApiProto()

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

Definition at line 42 of file protoutil.h.

◆ EncodeGoogleApiProto() [1/2]

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

Definition at line 27 of file protoutil.h.

◆ EncodeGoogleApiProto() [2/2]

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

Definition at line 36 of file protoutil.h.