alhudz commented on PR #1720:
URL: https://github.com/apache/commons-lang/pull/1720#issuecomment-4759059764

   Added `testFormatPeriodLongRangeBounds`, which runs a one-millisecond span 
at each end of the input range:
   
   - `Long.MAX_VALUE - 1` .. `Long.MAX_VALUE`
   - `Long.MIN_VALUE` .. `Long.MIN_VALUE + 1`
   - `Integer.MIN_VALUE - 1` .. `Integer.MIN_VALUE`
   
   Each one asserts `S` is `1`, the full `y/M/d/H/m/s.S` is `0/0/0/0/0/0.001`, 
and that `formatPeriod` matches `formatDuration` for the same span, so the 
reduction holds across the whole long range and not just spans near the epoch. 
`DurationFormatUtilsTest` is green (37 tests).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to