diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2017-01-12 17:13:10 -0500 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2017-01-12 19:33:25 -0500 |
commit | d0bc096b4a4b94cc62ce00541afb74860392df9c (patch) | |
tree | 9e0f6949c80b0a9ed8e196005b7ea055849d0303 /csharp | |
parent | c9cd6acd71e928164db10602b9d0837216ee367e (diff) | |
download | protobuf-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 'csharp')
0 files changed, 0 insertions, 0 deletions