Versions in this module Expand all Collapse all v1 v1.2.2 Jul 8, 2024 v1.2.1 Jan 22, 2023 Changes in this version + const Day + const Version + var RFC3339 *regexp.Regexp = regexp.MustCompile(`^(\d{4}-\d\d-\d\d(T\d\d:\d\d:\d\d)?|now)$`) + type TDiff struct + func New(ts1 string, ts2 string) (*TDiff, error) + func (t *TDiff) Days() string + func (t *TDiff) Hours() string + func (t *TDiff) Microseconds() string + func (t *TDiff) Milliseconds() string + func (t *TDiff) Minutes() string + func (t *TDiff) Months() string + func (t *TDiff) Nanoseconds() string + func (t *TDiff) Seconds() string + func (t *TDiff) Years() string + func (t *TDiff) YearsShorthand() string