Versions in this module Expand all Collapse all v0 v0.18.0 Jan 19, 2018 v0.17.0 Dec 11, 2017 v0.16.0 Nov 1, 2017 v0.15.0 Oct 3, 2017 v0.14.0 Sep 27, 2017 v0.13.0 Sep 11, 2017 v0.12.0 Aug 22, 2017 v0.11.0 Jul 31, 2017 v0.10.0 Jun 30, 2017 v0.9.0 Jun 21, 2017 v0.8.0 Jun 14, 2017 v0.7.0 Mar 10, 2017 v0.6.0 Dec 10, 2016 Changes in this version type Date + func (d *Date) UnmarshalText(data []byte) error + func (d Date) MarshalText() ([]byte, error) type DateTime + func (dt *DateTime) UnmarshalText(data []byte) error + func (dt DateTime) MarshalText() ([]byte, error) type Time + func (t *Time) UnmarshalText(data []byte) error + func (t Time) MarshalText() ([]byte, error) v0.5.0 Nov 30, 2016 Changes in this version + type Date struct + Day int + Month time.Month + Year int + func DateOf(t time.Time) Date + func ParseDate(s string) (Date, error) + func (d Date) AddDays(n int) Date + func (d Date) DaysSince(s Date) (days int) + func (d Date) In(loc *time.Location) time.Time + func (d Date) IsValid() bool + func (d Date) String() string + func (d1 Date) After(d2 Date) bool + func (d1 Date) Before(d2 Date) bool + type DateTime struct + Date Date + Time Time + func DateTimeOf(t time.Time) DateTime + func ParseDateTime(s string) (DateTime, error) + func (dt DateTime) In(loc *time.Location) time.Time + func (dt DateTime) IsValid() bool + func (dt DateTime) String() string + func (dt1 DateTime) After(dt2 DateTime) bool + func (dt1 DateTime) Before(dt2 DateTime) bool + type Time struct + Hour int + Minute int + Nanosecond int + Second int + func ParseTime(s string) (Time, error) + func TimeOf(t time.Time) Time + func (t Time) IsValid() bool + func (t Time) String() string