Documentation ¶
Index ¶
- Constants
- Variables
- func GetFormat(value string) string
- func MustTime(t time.Time, e error) time.Time
- func Range(start time.Time, end time.Time, interval Interval) []time.Time
- func ResetDay(d time.Time) time.Time
- func ResetMonth(d time.Time) time.Time
- func Time(s string) time.Time
- func ToTime(s string) (t time.Time, err error)
- type Interval
Constants ¶
View Source
const ErrorYear string = "0000"
View Source
const Format string = time.RFC3339
View Source
const FormatY string = "2006"
View Source
const FormatYM string = "2006-01"
View Source
const FormatYMD string = "2006-01-02"
Variables ¶
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.