Documentation
¶
Index ¶
- func AfterFunc(duration time.Duration, f func())
- func BeginOfDay(t time.Time) time.Time
- func BeginOfMouth(t time.Time) time.Time
- func BeginOfWeek(t time.Time) time.Time
- func DayPass(begin time.Time, end time.Time) int64
- func EndOfDay(t time.Time) time.Time
- func EndOfWeek(t time.Time) time.Time
- func LastDay(t time.Time) time.Time
- func MillisecondToTime(millisecond int64) (h int64, m int64, s int64)
- func NextDay(t time.Time) time.Time
- func SecondToTime(second int64) (h int64, m int64, s int64)
- func Ticker(duration time.Duration, f func() bool)
- func TimeStampToString(nTimer int64) string
- func UntilFunc(t time.Time, f func())
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginOfDay ¶
BeginOfDay returns the beginning of the day
func BeginOfMouth ¶
BeginOfMouth returns the beginning of the month
func BeginOfWeek ¶
BeginOfWeek Return the beginning of the week
func MillisecondToTime ¶
MillisecondToTime Convert milliseconds to hour, minute, second
func SecondToTime ¶
SecondToTime Convert seconds to hour, minute, second
func TimeStampToString ¶
TimeStampToString Convert timestamp to string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.