calendar

package
v0.0.0-...-75ccfd8 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NextRuntime

func NextRuntime(loc *time.Location, r int) time.Time

NextRuntime calculates the next time the Scheduled should run

func RandomTimeInRange

func RandomTimeInRange(startHour int, endHour int, loc *time.Location) time.Time

RandomTimeInRange returns a random time within the range specified by startHour and endHour

Types

This section is empty.

Jump to

Keyboard shortcuts

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