timeperiod

package
v10.4.0-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2018 License: MIT Imports: 2 Imported by: 0

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