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 ParseTimestampToTime(timestamp int64) time.Time
- func ParseTimestrToTime(timeStr string, flag int) time.Time
- func ParseTimestrToTimestamp(timeStr string, flag int) int64
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 ParseTimestampToTime ¶ added in v1.2.6
func ParseTimestrToTimestamp ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.