Documentation ¶
Index ¶
- type Date
- func (d *Date) Calculate(expr string) (*Date, error)
- func (d *Date) DiffDate(t Date) time.Duration
- func (d *Date) DiffExpr(expr string) (time.Duration, error)
- func (d *Date) DiffTime(t time.Time) time.Duration
- func (d *Date) DiffUnix(t int64) time.Duration
- func (d *Date) Format(expr string) string
- func (d *Date) FormatS(expr string) string
- func (d *Date) Midnight() *Date
- func (d *Date) Unix() int64
- func (d *Date) UnixNano() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Date ¶
Date generic date struc
Click to show internal directories.
Click to hide internal directories.