recurrence

package
v0.1.1112 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: Apache-2.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 Client

type Client interface {
	contract.RecurrenceOperator
}

func NewClient

func NewClient(d Dependencies) (Client, error)

type DefaultTool

type DefaultTool struct {
	T *contract.Tool[Client]
}

func NewTool

func NewTool(c Client, opts contract.ToolOptions[Client]) *DefaultTool

func (*DefaultTool) IsFinished

func (d *DefaultTool) IsFinished(ctx context.Context, opts contract.IsFinishedOptions) (bool, error)

IsFinished reports whether a recurrence has finished.

func (*DefaultTool) NextDate

func (d *DefaultTool) NextDate(ctx context.Context, opts contract.NextDateOptions) (*contract.Dt, error)

NextDate computes the next date for a recurrence rule.

type Dependencies

type Dependencies struct {
	G contract.Geocoder
}

type Tool

type Tool interface {
	Client
}

Jump to

Keyboard shortcuts

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