Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Millis ¶
type Millis int64
Millis represents time as milliseconds since epoch without any timezone adjustments
func MillisFromInt64 ¶
MillisFromInt64 generates a Millis struct from given millis int64
func MillisFromSeconds ¶
MillisFromSeconds generates a Millis struct from given seconds int64
func MillisFromString ¶
MillisFromString generates a Millis struct from a string representing an int64
func MillisFromTime ¶ added in v1.11.1
MillisFromTime generates a Millis struct from given go time
func (Millis) IsNil ¶
IsNil returns true if the timeMillis has not been initialized to a date other then 0 from epoch
Click to show internal directories.
Click to hide internal directories.