| 110 | } |
| 111 | |
| 112 | int ToSeconds(const google::type::TimeOfDay* time_of_day) { |
| 113 | int seconds = 0; |
| 114 | |
| 115 | seconds += time_of_day->hours() * 60 * 60; |
| 116 | seconds += time_of_day->minutes() * 60; |
| 117 | seconds += time_of_day->seconds(); |
| 118 | |
| 119 | return seconds; |
| 120 | } |
| 121 | |
| 122 | CelValue BetweenToD(Arena* arena, const google::protobuf::Message* time_of_day, |
| 123 | const google::protobuf::Message* start, const google::protobuf::Message* stop) { |