Versions in this module Expand all Collapse all v0 v0.3.0 Apr 2, 2026 v0.2.0 Mar 31, 2026 v0.1.1 Mar 13, 2026 v0.1.0 Mar 10, 2026 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 Today() Date + func (d *Date) UnmarshalJSON(data []byte) error + func (d *Date) UnmarshalText(data []byte) error + func (d Date) AddDays(n int) Date + func (d Date) AddMonths(n int) Date + func (d Date) AddYears(n int) Date + func (d Date) After(other Date) bool + func (d Date) Before(other Date) bool + func (d Date) Compare(other Date) int + func (d Date) DaysSince(s Date) int + func (d Date) Equal(other Date) bool + func (d Date) GoString() string + func (d Date) In(loc *time.Location) time.Time + func (d Date) IsValid() bool + func (d Date) IsZero() bool + func (d Date) MarshalJSON() ([]byte, error) + func (d Date) MarshalText() ([]byte, error) + func (d Date) String() string + func (d Date) UTC() time.Time + func (d Date) Weekday() time.Weekday