aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2017-01-12 17:13:10 -0500
committerThomas Van Lenten <thomasvl@google.com>2017-01-12 19:33:25 -0500
commitd0bc096b4a4b94cc62ce00541afb74860392df9c (patch)
tree9e0f6949c80b0a9ed8e196005b7ea055849d0303 /src
parentc9cd6acd71e928164db10602b9d0837216ee367e (diff)
downloadprotobuf-d0bc096b4a4b94cc62ce00541afb74860392df9c.tar.gz
protobuf-d0bc096b4a4b94cc62ce00541afb74860392df9c.tar.bz2
protobuf-d0bc096b4a4b94cc62ce00541afb74860392df9c.zip
Timestamp helper fix, Duration helper cleanup.
- The Timestamp proto does not allow for negative nanos fields, so the seconds must be shifted and a positive nanos then applied. - Tweak the helpers on Duration to make it clear there is no "base" time involved. - Update the unittests for duration and timestamp to cover positive and negative NSTimeIntervals and what their impact is on the protos.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions