Skip to content

tayloraswift/swift-unixtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

taylor’s utterly obscure machine time library ⏳

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages