Documentation ¶
Index ¶
- func GetDay() string
- func GetDayInt() (int, error)
- func GetDayIntOrPanic() int
- func GetDayListFromIntDayList(list []int) []string
- func GetEscapeTimePlainStr(ti time.Duration) string
- func GetRFC3339Time(target string) (time.Time, error)
- func GetTimeByFormat(target, format string) (time.Time, error)
- func GetTimeYYYYMMDD(t time.Time) string
- func GetTomorrowIntOrPanic() int
- func GetTwoDateDayIntList(start, end time.Time) ([]int, error)
- func GetTwoTimeEscapeStr(start, end time.Time) string
- func GetYYYYMMDD() string
- func GetYYYYMMDDHHMMSS() string
- func GetYYYYMMDDTime(target string) (time.Time, error)
- func GetYYYYMMTime(target string) (time.Time, error)
- func GetYYYYTime(target string) (time.Time, error)
- func GuessTime(str string) (time.Time, error)
- func IsBeforeToday(d time.Time) bool
- func IsToday(d time.Time) bool
- func IsZero(t time.Time) bool
- type Escape
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDayIntOrPanic ¶
func GetDayIntOrPanic() int
func GetEscapeTimePlainStr ¶
func GetTimeYYYYMMDD ¶
func GetTomorrowIntOrPanic ¶
func GetTomorrowIntOrPanic() int
func GetTwoTimeEscapeStr ¶
func GetYYYYMMDD ¶
func GetYYYYMMDD() string
func GetYYYYMMDDHHMMSS ¶
func GetYYYYMMDDHHMMSS() string
func IsBeforeToday ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.