I was hoping this would be ok. It wasn’t. FR: Have Durations support ranges so I can do this expression.
for(i in Duration.ZERO..maxDuration step offset) { ... }
I think getting it to work would involve something like Traversing through dates with Kotlin range expressions