/date

A Go package for working with dates

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

date

GoDoc Build Status Coverage Status

Package date provides functionality for working with dates.

This package introduces a light-weight Date type that is storage-efficient and covenient for calendrical calculations and date parsing and formatting (including years outside the [0,9999] interval).

See package documentation for full documentation and examples.

Installation

go get -u github.com/sjiekak/date

Fork Motivation

The motivation of this fork is to increase the performance of the ISO 8601 string formatting.

Credits

This package follows very closely the design of package time in the standard library; many of the Date methods are implemented using the corresponding methods of the time.Time type and much of the documentation is copied directly from that package.