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.

Features

  • You can perform all basic arithmetic operations on time intervals, even of different units
  • Time intervals are easily convertible
  • Convert intervals to Foundation's TimeInterval
  • You can compare different time units as well
  • Create your own time units
  • Starting with Xcode 11, Time is officially available only via Swift Package Manager

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Time

Time Web Site

nel_h2
Simply solve complex auth. Easy for devs to set up. Easy for non-devs to use. Icon
Simply solve complex auth. Easy for devs to set up. Easy for non-devs to use.

Transform user access with Frontegg CIAM: login box, SSO, MFA, multi-tenancy, and 99.99% uptime.

Custom auth drains 25% of dev time and risks 62% more breaches, stalling enterprise deals. Frontegg platform delivers a simple login box, seamless authentication (SSO, MFA, passwordless), robust multi-tenancy, and a customizable Admin Portal. Integrate fast with the React SDK, meet compliance needs, and focus on innovation.
Start for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Time!

Additional Project Details

Operating Systems

Apple iPhone

Programming Language

Swift

Related Categories

Swift Libraries

Registered

2023-07-03