proto_docs/google/protobuf/duration.rb in google-cloud-dialogflow-v2-0.2.1 vs proto_docs/google/protobuf/duration.rb in google-cloud-dialogflow-v2-0.2.2

- old
+ new

@@ -38,10 +38,10 @@ # duration.nanos = end.nanos - start.nanos; # # if (duration.seconds < 0 && duration.nanos > 0) { # duration.seconds += 1; # duration.nanos -= 1000000000; - # } else if (durations.seconds > 0 && duration.nanos < 0) { + # } else if (duration.seconds > 0 && duration.nanos < 0) { # duration.seconds -= 1; # duration.nanos += 1000000000; # } # # Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.