Skip to content

JuliaTime/NanoDates.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NanoDates.jl

celebrating the finer aspects of time 📅 🕰️


docs Aqua QA MIT license
guidance clean code attribution only

DOI


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 withDateTime 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)