timeperiod

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2017 License: MIT Imports: 2 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimePeriod

type TimePeriod struct {
	GetCurrentTime func() time.Time
	// contains filtered or unexported fields
}

func TimePeriods

func TimePeriods(periods []string) (*TimePeriod, error)

func (*TimePeriod) InPeriod

func (t *TimePeriod) InPeriod() bool

Jump to

Keyboard shortcuts

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