Quick / Nimble

A Matcher Framework for Swift and Objective-C
https://quick.github.io/Nimble/documentation/nimble/
Apache License 2.0
4.8k stars 596 forks source link

Add conversion between NimbleTimeInterval and the relatively new Duration API #1058

Closed younata closed 11 months ago

younata commented 1 year ago

Adds the ability to easily convert between NimbleTimeInterval and the Duration struct introduced last year.

This does lose precision when the duration is meant to have sub-nanosecond precision. I highly doubt this will affect Nimble's use case.