I need to use something like the class java.time.Duration
to express time intervals from sub-microsecond to seconds. But Android Studio doesn't offer me this option.
I suppose I could use a float
and express everything as seconds, but this seems less intuitive and meaningful.
These intervals aren't associated with any real-world timeline, they're just, well, intervals.