redate

package
v0.8.8 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedateFilter

type RedateFilter struct {
	StartDate           time.Time
	TargetDate          time.Time
	TargetDays          int
	RemoveOutsideWindow bool
}

func NewRedateFilter

func NewRedateFilter(startDate, targetDate time.Time, targetDays int) *RedateFilter

func (*RedateFilter) Filter

func (tf *RedateFilter) Filter(ent tl.Entity, emap *tl.EntityMap) error

Jump to

Keyboard shortcuts

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