Documentation ¶
Index ¶
- Constants
- Variables
- func FileCreationTime(filepath string) (c time.Time, err error)
- func GetFormat(value string) string
- func MaxTime(times []time.Time) time.Time
- 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
2006-01-02T15:04:05Z07:00
View Source
const FormatY string = "2006"
View Source
const FormatYM string = "2006-01"
View Source
const FormatYMD string = "2006-01-02"
View Source
const FormatYMDHMS string = "2006-01-02T15:04:05"
Variables ¶
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.