Documentation
¶
Index ¶
- type Time
- func (_ Time) Date(year int, month time.Month, day, hour, min, sec, nsec int, loc *time.Location) time.Time
- func (_ Time) LoadLocation(name string) (*time.Location, error)
- func (_ Time) Now() time.Time
- func (_ Time) Parse(layout, value string) (time.Time, error)
- func (_ Time) ParseDuration(s string) (time.Duration, error)
- func (_ Time) ParseInLocation(layout, value string, loc *time.Location) (time.Time, error)
- func (_ Time) Since(t time.Time) time.Duration
- func (_ Time) Unix(sec, nsec int64) time.Time
- func (_ Time) UnixMicro(usec int64) time.Time
- func (_ Time) UnixMilli(msec int64) time.Time
- func (_ Time) Until(t time.Time) time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Time ¶
type Time struct { January time.Month February time.Month March time.Month April time.Month May time.Month June time.Month July time.Month August time.Month September time.Month October time.Month November time.Month December time.Month Sunday time.Weekday Monday time.Weekday Tuesday time.Weekday Wednesday time.Weekday Thursday time.Weekday Friday time.Weekday Saturday time.Weekday Nanosecond time.Duration Microsecond time.Duration Millisecond time.Duration Second time.Duration Minute time.Duration Hour time.Duration Layout string ANSIC string UnixDate string RubyDate string RFC822 string RFC822Z string RFC850 string RFC1123 string RFC1123Z string RFC3339 string RFC3339Nano string Kitchen string Stamp string StampMilli string StampMicro string StampNano string }
func (Time) ParseInLocation ¶
Click to show internal directories.
Click to hide internal directories.