https://github.com/rarestype/u
taylor’s utterly obscure machine time library ⏳
https://github.com/rarestype/u
autosync
Last synced: 6 days ago
JSON representation
taylor’s utterly obscure machine time library ⏳
- Host: GitHub
- URL: https://github.com/rarestype/u
- Owner: rarestype
- License: apache-2.0
- Created: 2024-07-07T00:44:57.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2026-05-14T20:52:57.000Z (20 days ago)
- Last Synced: 2026-05-28T05:34:17.437Z (6 days ago)
- Topics: autosync
- Language: Swift
- Homepage: https://swiftinit.org/docs/u
- Size: 96.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Notice: NOTICE
Awesome Lists containing this project
README
🌚 **u** 🌝
a portable Foundation-free library for working with machine time and its human-readable representations
[documentation and api reference](https://swiftinit.org/docs/u/unixtime)
U is not a date computation library; use [davedelong.time](https://github.com/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.
## Requirements
The U library requires Swift 6.2 or later.
| Platform | Status |
| -------- | ------ |
| 💬 Documentation | [](https://github.com/rarestype/u/actions/workflows/Documentation.yml) |
| 🐧 Linux | [](https://github.com/rarestype/u/actions/workflows/Tests.yml) |
| 🍏 Darwin | [](https://github.com/rarestype/u/actions/workflows/Tests.yml) |
| 🍏 Darwin (iOS) | [](https://github.com/rarestype/u/actions/workflows/Tests.yml) |
| 🍏 Darwin (tvOS) | [](https://github.com/rarestype/u/actions/workflows/Tests.yml) |
| 🍏 Darwin (visionOS) | [](https://github.com/rarestype/u/actions/workflows/Tests.yml) |
| 🍏 Darwin (watchOS) | [](https://github.com/rarestype/u/actions/workflows/Tests.yml) |