mtime

package
v0.0.0-...-21a16ac Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScaleFactor = 24
)

Variables

This section is empty.

Functions

func Clock

func Clock(mt int64) (hour, min, sec int)

func ClockNow

func ClockNow() (hour, min, sec int)

func GetRush

func GetRush(then, now int64) (rush, offpeak int64)

func HumanToMouse

func HumanToMouse(ht time.Time) int64

func HumanUnixToMouse

func HumanUnixToMouse(ht int64) int64

func IsRush

func IsRush(t int64) bool

func Now

func Now() int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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