//
pkg.gl
Category
github.com/sfomuseum/go-edtf
unix
package
1.2.1
Repository:
https://github.com/sfomuseum/go-edtf.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
2
Files
116 SLOC
#
Functions
DeriveRanges
DeriveRanges will parse 'edtf_str' and return a boolean flag signaling that it was possible to derive date ranges and, when possible, a `DateRange` instance containing Unix timestamps.
#
Structs
DateRange
DateRange is a struct containing inner and outer `DateSpan` instances for an EDTF date string.
DateSpan
DateSpan is a struct containing Unix timestamps for a range of (two) dates.