More UTS#35 conformance.

'S' must be interpreted as a fractional second field. While it is
loosely equivalent to milliseconds, it is not always so.

For instance:
"11.789045" seconds is 11 seconds and ~789 (not 789045) milliseconds.
"11.79" seconds is 11 seconds and 790 (not 79) milliseconds.

This change makes sure we deal with these values correctly. The
behaviour for count === 3 (SSS, eg. "11.564" seconds) is unchanged.

bug: 25863120
Change-Id: Idac94d7aafcdbdcd83ac561cf5895e5890cf8a56
1 file changed