Time
Type-safe time calculations in Swift
Type-safe time calculations in Swift. Time is not just a bunch of Double conversion functions. The main advantage of it is that all time units are strongly-typed. Starting with Xcode 11, Time is officially available only via Swift Package Manager. Of course, you always have an option of just copying-and-pasting the code - Time is just two files, so feel free.