Documentation ¶
Index ¶
- type Date
- func (d Date) Add(dur time.Duration) Date
- func (d Date) AddDate(years int, months int, days int) Date
- func (d Date) After(u Date) bool
- func (d Date) AppendFormat(b []byte, layout string) []byte
- func (d Date) Before(u Date) bool
- func (d Date) Clock() (hour, min, sec int)
- func (d Date) Date() (year int, month time.Month, day int)
- func (d Date) Day() int
- func (d Date) Equal(u Date) bool
- func (d Date) Format(layout string) string
- func (d *Date) GobDecode(data []byte) error
- func (d Date) GobEncode() ([]byte, error)
- func (d Date) Hour() int
- func (d Date) ISOWeek() (year, week int)
- func (d Date) In(loc *time.Location) Date
- func (d Date) IsZero() bool
- func (d Date) Local() Date
- func (d Date) Location() *time.Location
- func (d Date) MarshalBinary() ([]byte, error)
- func (d Date) MarshalJSON() ([]byte, error)
- func (d Date) MarshalText() ([]byte, error)
- func (d Date) Minute() int
- func (d Date) Month() time.Month
- func (d Date) Nanosecond() int
- func (d Date) Round(dur time.Duration) Date
- func (d *Date) Scan(src interface{}) error
- func (d Date) Second() int
- func (d Date) String() string
- func (d Date) Sub(u Date) time.Duration
- func (d Date) Truncate(dur time.Duration) Date
- func (d Date) UTC() Date
- func (d Date) Unix() int64
- func (d Date) UnixNano() int64
- func (d *Date) UnmarshalBinary(data []byte) error
- func (d *Date) UnmarshalJSON(data []byte) error
- func (d *Date) UnmarshalText(data []byte) error
- func (d Date) Value() (driver.Value, error)
- func (d Date) Weekday() time.Weekday
- func (d Date) Year() int
- func (d Date) YearDay() int
- func (d Date) Zone() (name string, offset int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Date ¶
type Date struct {
// contains filtered or unexported fields
}
func (Date) MarshalBinary ¶
func (Date) MarshalJSON ¶
func (Date) MarshalText ¶
func (Date) Nanosecond ¶
func (*Date) UnmarshalBinary ¶
func (*Date) UnmarshalJSON ¶
func (*Date) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.