recurring

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package recurring contains more implementations for recurring.R.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EachSunset

func EachSunset(lat, lon float64) tasks_recurring.R

EachSunset returns the sunsets for a given latitude and longitude. lat is the latitude where north is positive and south is negative. lon is the longitude where east is positive and west is negative.

func OnOrBefore

func OnOrBefore(r tasks_recurring.R, hour, min int) tasks_recurring.R

OnOrBefore ensures that the times in r happen on or before hour:min. If a time is after hour:min, it is moved earlier to be hour:min. If a time is 12 hours or more after hour:min, then it is considered to be before hour:min on the next day, and no adjustment is made.

Types

This section is empty.

Jump to

Keyboard shortcuts

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