Versions in this module Expand all Collapse all v1 v1.0.0 Jun 17, 2023 Changes in this version + var ErrBadFormat = errors.New("bad format string") + var ErrInvalidZone = errors.New("ISO8601: Specified zone is invalid") + var ErrNoMonth = errors.New("no months allowed") + var ErrNotString = errors.New("ISO8601: Invalid json type (expected string)") + var ErrPrecision = errors.New("ISO8601: Too many characters in fraction of second precision") + var ErrRemainingData = errors.New("ISO8601: Unexepected remaining data after `Z`") + var ErrZoneCharacters = errors.New("ISO8601: Expected between 3 and 6 characters for zone information") + func ParseDuration(durString string) (time.Duration, error) + func ParseISOZone(inp []byte) (*time.Location, error) + func ParseTimeDate(inp []byte) (time.Time, error) + func ParseTimeDateString(timedateString string) (time.Time, error) + type RangeError struct + Element string + Given int + Max int + Min int + Value string + func (e *RangeError) Error() string + type UnexpectedCharacterError struct + Character byte + func (e *UnexpectedCharacterError) Error() string