Microsecond support in java.time.Duration/Instant?

Stephen Colebourne scolebourne at joda.org
Mon Jan 22 15:00:11 UTC 2018

On 22 January 2018 at 02:58, Kurt Alfred Kluever <kak at google.com> wrote:
> I'm curious how these sets of units were chosen or decided upon? I
> understand that the line must be drawn somewhere (or else someone may come
> along asking for centisecond support), but I'm curious as to the rational.

Nanos have to be supported as they are the smallest available.
Millis are supported as they are the historic form.

Micros is only one of the other possible ones - .NET ticks might be
another. A line has to be drawn somewhere...


More information about the core-libs-dev mailing list