An open API service indexing awesome lists of open source software.

https://github.com/joho/beats

A Swift library for converting time to Swatch™ Internet Time (also knows as .beat)
https://github.com/joho/beats

Last synced: about 1 year ago
JSON representation

A Swift library for converting time to Swatch™ Internet Time (also knows as .beat)

Awesome Lists containing this project

README

          

# Beats

A Swift library for calculating [Swatch Internet Time](https://en.wikipedia.org/wiki/Swatch_Internet_Time)

Usage:

```swift
import beats

let beats = beats(date: Date())
// or let beats = beats()
let asNumber = beats.int() // 32
let asString = beats.string() // @032
```

Have fun.

---

© 2019 John Barton - MIT License