Skip to content

fxtlabs/date

Repository files navigation

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/fxtlabs/date

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.