Fix parsing of fractional seconds.

We were just parsing them as millisecond values, which is wrong.
".1" fractional second is 100 milliseconds (we were parsing it as 1 ms),
and ".765432" fractional seconds is 765 milliseconds (we were
parsing it as 765432ms.

In most cases, this was hidden by the fact that we were formatting
such values incorrectly as well.

bug: 16969112

(cherry picked from commit e73ebc998a5b4017e805d750b395603d953d3c0c)

Change-Id: I8401cfa65d3d6d424ae0b962e8c045d65a776183
2 files changed