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)
- Host: GitHub
- URL: https://github.com/joho/beats
- Owner: joho
- License: mit
- Created: 2019-06-14T04:49:18.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-19T02:18:15.000Z (almost 7 years ago)
- Last Synced: 2025-01-26T03:26:12.754Z (over 1 year ago)
- Language: Swift
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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