schedule

package
v0.0.0-...-01ffb0a Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidInput = errors.New("invalid input")
)

Functions

func ToWeeklyOffset

func ToWeeklyOffset(when time.Time) weeklyOffset

Types

type Schedule

type Schedule struct {
	// contains filtered or unexported fields
}

func New

func New() *Schedule

func (*Schedule) Blocked

func (s *Schedule) Blocked(when time.Time) []string

func (*Schedule) Decode

func (s *Schedule) Decode(in []byte) error

func (*Schedule) Until

func (s *Schedule) Until(when time.Time) time.Time

Jump to

Keyboard shortcuts

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