Versions in this module Expand all Collapse all v0 v0.0.2 Sep 6, 2023 Changes in this version + var ErrAmbiguousMMDD = fmt.Errorf("This date has ambiguous mm/dd vs dd/mm type format") + func MustParse(datestr string, opts ...ParserOption) time.Time + func ParseAny(datestr string, opts ...ParserOption) (time.Time, error) + func ParseFormat(datestr string, opts ...ParserOption) (string, error) + func ParseIn(datestr string, loc *time.Location, opts ...ParserOption) (time.Time, error) + func ParseLocal(datestr string, opts ...ParserOption) (time.Time, error) + func ParseStrict(datestr string, opts ...ParserOption) (time.Time, error) + type ParserOption func(*parser) error + func PreferMonthFirst(preferMonthFirst bool) ParserOption + func RetryAmbiguousDateWithSwap(retryAmbiguousDateWithSwap bool) ParserOption