函数列表
- func After(d Duration) <-chan time
- func Sleep(d Duration)
- func Tick(d Duration) <-chan time
- Duration
- Location
- func FixedZone(name string, offset int) *Location
- func LoadLocation(name string) (*Location, error)
- func (l *Location) String() string
- Month
- ParseError
- Ticker
- Time
- func Date(year int, month Month, day, hour, min, sec, nsec int, loc *Location) Time 参考Time
- func Now() Time
- func Parse(layout, value string) (Time, error)
- func Unix(sec int64, nsec int64) Time
- func (t Time) Add(d Duration) Time
- func (t Time) AddDate(years int, months int, days int) Time
- func (t Time) After(u Time) bool 参考Time
- func (t Time) Before(u Time) bool 参考Time
- func (t Time) Clock() (hour, min, sec int) 参考Time
- func (t Time) Date() (year int, month Month, day int) 参考Time
- func (t Time) Day() int 参考Time
- func (t Time) Equal(u Time) bool 参考Time
- func (t Time) Format(layout string) string
- func (t Time) GobDecode(buf []byte) error
- func (t Time) GobEncode() ([]byte, error)
- func (t Time) Hour() int 参考Time
- func (t Time) ISOWeek() (year, week int)
- func (t Time) In(loc *Location) Time
- [func (t Time) IsZero() bool 参考Time
- func (t Time) Local() Time
- func (t Time) Location() *Location
- func (t Time) MarshalJSON() ([]byte, error)
- func (t Time) Minute() int 参考Time
- func (t Time) Month() Month 参考Time
- func (t Time) Nanosecond() int 参考Time
- func (t Time) Second() int 参考Time
- func (t Time) String() string 参考Time
- func (t Time) Sub(u Time) Duration
- func (t Time) UTC() Time
- func (t Time) Unix() int64
- func (t Time) UnixNano() int64
- func (t Time) UnmarshalJSON(data []byte) (err error)
- func (t Time) Weekday() Weekday 参考Time
- func (t Time) Year() int 参考Time
- func (t Time) Zone() (name string, offset int)
- Timer
- Weekday