timeutil

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertMillisToDuration

func ConvertMillisToDuration(timeInMillis int64) time.Duration

func ConvertMillisToUnixTime

func ConvertMillisToUnixTime(timeInMillis int64) time.Time

func GetCurrentTimeInMilliSeconds

func GetCurrentTimeInMilliSeconds() int64

func GetCurrentTimeInMillis

func GetCurrentTimeInMillis() int64

func GetPositiveDurationOrMax

func GetPositiveDurationOrMax(duration time.Duration) time.Duration

func GetTimeInMilliSeconds

func GetTimeInMilliSeconds(duration time.Duration) int64

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL