getLength

fun getLength(track: Track): Duration

Converts Track.length to a Duration because the Kotlin duration doesn't work in Java.