lengthInNanoseconds

val DateTimeInterval.lengthInNanoseconds: Nanoseconds
val TimePointInterval<*>.lengthInNanoseconds: Nanoseconds

The number of nanoseconds between the start and end of this interval.

Throws

if the interval isn't bounded