https://github.com/juliatime/nanodates.jl
Dates with nanosecond resolved days
https://github.com/juliatime/nanodates.jl
Last synced: 2 months ago
JSON representation
Dates with nanosecond resolved days
- Host: GitHub
- URL: https://github.com/juliatime/nanodates.jl
- Owner: JuliaTime
- License: mit
- Created: 2022-04-21T00:54:03.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-22T20:54:38.000Z (7 months ago)
- Last Synced: 2025-02-22T20:19:53.998Z (3 months ago)
- Language: Julia
- Size: 2.64 MB
- Stars: 31
- Watchers: 5
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# NanoDates.jl
### celebrating the finer aspects of time 📅 🕰️----
| [](https://juliatime.github.io/NanoDates.jl/dev/) | [](https://github.com/JuliaTesting/Aqua.jl) | [MIT license](http://opensource.org/licenses/MIT) |
|:------------:|:-----------:|:---------:|
| guidance | clean code | attribution only |[](https://zenodo.org/badge/latestdoi/483859789)
----
##### motivation
- *Every day should have all the times-of-day* (except where timezone changes apply)
- The `Time` type from Dates supports nanoseconds when dates are not used.
- `Time` works incompletely with`DateTime` which is limited to milliseconds.- We need date-and-time together, fully resolved, accurate and precise.
- `NanoDate` is familiar and effective
- works well with Dates
- uses `DateTime` methods- This package is a redesign of `TimesDates`
- `TimesDates` is widely used and well-liked
- offers nanoseond resolved dates (as do we)
- offers nanosecond accurate time zones (we do not)- Latest
- performant NanoDate ranges with steps that are simple or compound periods
- much faster than Dates with compound period stepsizes
- bugfix (parsing some subsecond layouts)
- Contributors are welcome
- clear code, robust performance, reliable interoperability
- frendly docs, easily followed, well explained
----
| light nanoseconds | metric distance |
|:-----------------:|:-------------------------:|
| 1 ns | 299_793_458 nanometers |
| 1 ns | 0.299_793_458 meters |from Grace Hopper (thank you, Grace)