timeperiod

package
v9.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2017 License: MIT Imports: 2 Imported by: 3

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, timezone 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