timeperiod

package
v1.11.1-0...-769674b Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 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