Module cloud.opencode.base.cron


module cloud.opencode.base.cron
OpenCode Base Cron Module Cron 表达式模块

Provides cron expression parsing, fluent builder, validation, scheduling (next/previous execution), and human-readable description.

提供 Cron 表达式解析、流式构建器、校验、 调度(下次/上次执行)和人类可读描述。

Supported syntax | 支持的语法:

  • 5/6-field cron expressions
  • Name aliases: MON-FRI, JAN-DEC
  • Special characters: L, W, #, ?
  • Macros: @yearly, @monthly, @weekly, @daily, @hourly
  • Range wrap-around: 22-2 (hours)
  • OR semantics for day-of-month/day-of-week
Since:
JDK 25, opencode-base-cron V1.0.0
Author:
Leon Soo