Skip to content

Building a better date/time library for Swift

Notifications You must be signed in to change notification settings

snappymob/Chronology

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chronology

Chronology is an attempt to build a better date and time API for Swift on top of the constructs provided by Foundation.

For more information, please see the wiki:

General Overview

  • An Instant represents a singular point in time, independent of any calendaring system.
  • A Clock lets you get the current Instant, but can also give you calendrical representations.
  • A Value<...> represents a calendrical value, such as "October 6, 2019".
  • Value has a whole bunch of methods to perform "adjustments", such as finding the next largest/smallest value, etc
  • Value also has methods to do type-safe formatting.

About

Building a better date/time library for Swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%