timeperiod

package
v10.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2018 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, 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