schedulex

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTimezone = timex.DefaultDisplayTimezone

DefaultTimezone 保留以兼容旧引用;运行时回退请使用 NormalizeTimezone("")(跟随 app.display_timezone)。 DefaultTimezone is kept for compatibility; runtime fallback uses NormalizeTimezone("") which follows app.display_timezone.

Variables

Functions

func LoadLocation

func LoadLocation(value string) (*time.Location, error)

func MatchMinuteWindow

func MatchMinuteWindow(expr string, now time.Time, locationName string) (bool, time.Time, time.Time, error)

func NextRun

func NextRun(expr string, from time.Time, locationName string) (*time.Time, error)

func NormalizeTimezone

func NormalizeTimezone(value string) string

func Validate

func Validate(expr string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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