Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 2.52 KB

README.md

File metadata and controls

35 lines (22 loc) · 2.52 KB

unixtime

Tests Documentation

The swift-unixtime library is a portable, Foundation-free library for working with machine time and its human-readable representations.

Swift UnixTime is not a date computation library; use davedelong.time for that. Swift UnixTime 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 swift-unixtime library requires Swift 5.10 or later.

Platform Status
🐧 Linux Tests
🍏 Darwin Tests
🍏 Darwin (iOS) iOS
🍏 Darwin (tvOS) tvOS
🍏 Darwin (visionOS) visionOS
🍏 Darwin (watchOS) watchOS