Documentation ¶
Index ¶
- func GetAllDateFromStartToEnd(startDate string, endDate string, format ...string) (re []string)
- func GetAssignDayBegin(assignDay string) *gtime.Time
- func GetAssignDayEnd(assignDay string) *gtime.Time
- func GetLastMonthBegin() int64
- func GetLastMonthEnd() int64
- func GetLastMonthStartEnd(t time.Time) (time.Time, time.Time)
- func GetLastWeekBegin() int64
- func GetLastWeekEnd() int64
- func GetMonthBegin() int64
- func GetMonthEnd() int64
- func GetMonthStartEnd(t time.Time) (time.Time, time.Time)
- func GetNetworkTime() (time.Time, error)
- func GetNow() *gtime.Time
- func GetNowFormat(format string) string
- func GetNowTime() int64
- func GetTimeStampByTimeStr(timeStr string) int64
- func GetTodayBegin() int64
- func GetTodayEnd() int64
- func GetWeekBegin() int64
- func GetWeekEnd() int64
- func GetYearMonthDay(t *gtime.Time, yearFormat string, monthFormat string, dayFormat string) (string, string, string)
- func GetYesterdayBegin() int64
- func GetYesterdayEnd() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllDateFromStartToEnd ¶
GetAllDateFromStartToEnd 从给定的开始时间和结束时间获取所有日期
func GetAssignDayBegin ¶
GetAssignDayBegin 指定日期当天的开始时间
func GetAssignDayEnd ¶
GetAssignDayEnd 指定日期当天的结束时间
func GetLastMonthStartEnd ¶
GetLastMonthStartEnd 指定时间的上一个月的开始、结束时间
func GetMonthStartEnd ¶
GetMonthStartEnd 获取指定时间所在月的开始 结束时间
func GetTimeStampByTimeStr ¶
GetTimeStampByTimeStr GetTimeStampByDateStr 根据日期字符串获取时间戳
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.