Documentation ¶
Index ¶
- type Time
- func (t *Time) Add(msec int) *Time
- func (t *Time) AddDate(years int, months int, days int) *Time
- func (t *Time) After(u *Time) bool
- func (t *Time) Before(u *Time) bool
- func (t *Time) Compare(u *Time) int
- func (t *Time) Day() int
- func (t *Time) Equal(u *Time) bool
- func (t *Time) Format(fmt *string) string
- func (t *Time) Hour() int
- func (t *Time) ISOWeek() (year, week int)
- func (t *Time) Local() *Time
- func (t *Time) Location() string
- func (t *Time) Millisecond() int
- func (t *Time) Minute() int
- func (t *Time) Month() int
- func (t *Time) Second() int
- func (t *Time) String() string
- func (t *Time) Sub(u *Time) int
- func (t *Time) UTC() *Time
- func (t *Time) Unix() int64
- func (t *Time) Weekday() int
- func (t *Time) Year() int
- func (t *Time) YearDay() int
- func (t *Time) Zone() string
- func (t *Time) ZoneOffset() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Time ¶
type Time struct {
// contains filtered or unexported fields
}
func (*Time) Millisecond ¶
func (*Time) ZoneOffset ¶
Click to show internal directories.
Click to hide internal directories.