Documentation
¶
Index ¶
- func Iter(from, to Date, duration Duration) iter.Seq[Date]
- type Cron
- type Date
- func (d Date) Add(days Duration) Date
- func (d Date) After(d2 Date) bool
- func (d Date) Before(d2 Date) bool
- func (d Date) Day() int
- func (d Date) IsZero() bool
- func (d Date) MarshalJSON() ([]byte, error)
- func (d Date) Month() time.Month
- func (d Date) String() string
- func (d Date) Sub(d2 Date) Duration
- func (d Date) ToStdTime() time.Time
- func (d *Date) UnmarshalJSON(b []byte) (err error)
- func (d Date) Year() int
- type Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Duration ¶
type Duration int64
func ParseDuration ¶
func (Duration) MarshalJSON ¶
func (*Duration) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.