Documentation
¶
Index ¶
- type Date
- func (d Date) Add(duration Duration) Date
- func (d Date) EndOfDay() time.Time
- func (d Date) EndOfDayUTC() time.Time
- func (d Date) Equal(u Date) bool
- func (d Date) IsZero() bool
- func (d Date) MarshalJSON() ([]byte, error)
- func (d Date) Noon() time.Time
- func (d Date) NoonUTC() time.Time
- func (d *Date) Scan(src any) error
- func (d Date) StartOfDay() time.Time
- func (d Date) StartOfDayUTC() time.Time
- func (d Date) String() string
- func (d Date) Sub(duration Duration) Date
- func (d Date) TimeAt(hour, min, sec, nsec int) time.Time
- func (d Date) TimeAtUTC(hour, min, sec, nsec int) time.Time
- func (d *Date) UnmarshalJSON(data []byte) error
- func (d Date) Value() (driver.Value, error)
- type Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Date ¶
Like time.Time, but only has a date.
func (Date) EndOfDayUTC ¶
func (Date) MarshalJSON ¶
func (Date) StartOfDay ¶
func (Date) StartOfDayUTC ¶
func (*Date) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.