Versions in this module Expand all Collapse all v0 v0.0.3 Mar 23, 2021 Changes in this version + func AtomicStore(ts *TS, v TS) type TS + func AtomicLoad(ts *TS) TS v0.0.2 Mar 14, 2021 Changes in this version + func OutOfRange(t time.Time) bool + type TS time.Duration + const MaxTS + const MinTS + func DurationToTS(d time.Duration) TS + func Now() TS + func Timestamp(t time.Time) TS + func Unix(sec int64, nsec int64) TS + func Zero() TS + func (ts TS) Add(d time.Duration) TS + func (ts TS) AddDate(years, months, days int) TS + func (ts TS) AddTS(ts2 TS) TS + func (ts TS) After(ts2 TS) bool + func (ts TS) AfterTime(t time.Time) bool + func (ts TS) Before(ts2 TS) bool + func (ts TS) BeforeTime(t time.Time) bool + func (ts TS) Duration() time.Duration + func (ts TS) Equal(ts2 TS) bool + func (ts TS) EqualTS(ts2 TS) bool + func (ts TS) EqualTime(t time.Time) bool + func (ts TS) Format(layout string) string + func (ts TS) In(loc *time.Location) time.Time + func (ts TS) IsZero() bool + func (ts TS) Location() *time.Location + func (ts TS) MarshalBinary() ([]byte, error) + func (ts TS) MarshalJSON() ([]byte, error) + func (ts TS) MarshalText() ([]byte, error) + func (ts TS) String() string + func (ts TS) Sub(ts2 TS) time.Duration + func (ts TS) SubTime(t time.Time) time.Duration + func (ts TS) Time() time.Time + func (ts TS) Truncate(d time.Duration) TS + func (ts TS) TruncateTime(d time.Duration) time.Time + func (ts TS) Unix() int64 + func (ts TS) UnixNano() int64