Module saffron::parse [−][src]
A module allowing for inspection of a parsed cron expression. This can be used to accurately describe an expression without reducing it into a cron value.
Structs
CronExpr | A parsed cron expression. This can be used to describe the expression or reduce it into a
|
CronParseError | An error indicating that the provided cron expression failed to parse |
DayOfMonth | A day of the month, 1-31 |
DayOfMonthOffset | A last day of the month offset, 1-30 |
DayOfWeek | A day of the week, 1-7 (Sun-Sat) |
English | English language formatting |
Exprs | A set of expressions with at least one item. |
Hour | An hour value, 0-23 |
LanguageFormatter | A formatter for displaying a cron expression description in a specified language |
Minute | A minute value, 0-59 |
Month | A month, 1-12 |
NthDay | An "nth" day, 1-5 |
Step | A step value constrained by a expression value. The max value of this type differs depending
on the type |
ValueOutOfRangeError | An error returned if an expression type value is out of range. |
Enums
DayOfMonthExpr | A day of the month expression. |
DayOfWeekExpr | A day of the week expression. |
Expr | A generic expression that can take a '*' or many exprs. |
HourFormat | Specifies whether to display times with a 12 hour or 24 hour clock. |
Last | A "last" expression for |
OrsExpr | Either one value, a range, or a step expression |
Traits
ExprValue | A trait implemented for expression values that defines a MIN value and a MAX value. |
Language | A language formatting configuration |
Type Definitions
ExprsIter | An immutable iterator over all expressions in a set of |
IntoExprsIter | An owned iterator over all expressions in a set of |