Documentation ¶
Index ¶
- func BeginTime(param time.Time) time.Time
- func ConvertToStr(dateTime time.Time, flag int) string
- func ConvertToStrByPrt(dateTime *time.Time, flag int) string
- func EndTimeNum(param time.Time) time.Time
- func GetDistanceOfTwoDate(timeStart, timeEnd time.Time) int64
- func ParseStrToTime(timeStr, location string, flag int) (time.Time, error)
- func ParseStrToTimestamp(timeStr, location string, flag int) (int64, error)
- func ParseTimestampToTime(timestamp int64, location string) (time.Time, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToStrByPrt ¶
ConvertToStrByPrt @Description: @param dateTime @param flag @return string
func GetDistanceOfTwoDate ¶
GetDistanceOfTwoDate @param timeStart @param timeEnd @return int64
func ParseStrToTime ¶ added in v1.2.9
func ParseStrToTimestamp ¶ added in v1.2.10
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.