[threeten-dev] Please help to review new test cases for java.time.OffsetTime
Patrick Zhang
patrick.zhang at oracle.com
Sat Apr 27 21:44:49 PDT 2013
Hi Team,
Please help to review new test cases for OffsetTime.periodUntil().
The test logic is simple, as description in javadoc:
=============
When two OffsetTime have different Offset, then the specified end time
will be normalized to have same offset with start time.
=============
Then 01:01:01+10:00 to 02:01:01+10:00 should be 1 hour while
01:01:01+10:00 to 02:01:01+9:00 should be 2 hours.
Webrev:
http://cr.openjdk.java.net/~pzhang/JSR310/java/time/OffsetTime/webrev/
Test result:
http://cr.openjdk.java.net/~pzhang/JSR310/java/time/OffsetTime/TCKOffsetTime.jtr
Regards
Patrick
More information about the threeten-dev
mailing list