🌚 u 🌝
a portable Foundation-free library for working with machine time and its human-readable representations
U is not a date computation library; use davedelong.time for that. U is principally concerned with static typing, unit safety, and minimizing binary size. It represents temporal concepts in a persistence-friendly format, optimizing for use cases such as task scheduling in long-running server applications.
One of the paramount goals of this library is to allow other libraries to exchange strongly-typed values with zero overhead without falling back to raw integer representations or linking against large frameworks.
The U library requires Swift 6.2 or later.
| Platform | Status |
|---|---|
| 💬 Documentation | |
| 🐧 Linux | |
| 🍏 Darwin | |
| 🍏 Darwin (iOS) | |
| 🍏 Darwin (tvOS) | |
| 🍏 Darwin (visionOS) | |
| 🍏 Darwin (watchOS) |