| Package | Description |
|---|---|
| com.atlassian.scheduler.caesium.cron.rule |
Tools for evaluating a parsed cron expression to find when it matches.
|
| com.atlassian.scheduler.caesium.cron.rule.field |
Rules that work with the value of a single field of
DateTimeTemplate. |
| Constructor and Description |
|---|
CronExpression(String cronExpression,
FieldRule year,
FieldRule month,
FieldRule day,
FieldRule hour,
FieldRule minute,
FieldRule second) |
| Modifier and Type | Class and Description |
|---|---|
class |
BitSetFieldRule
A cron field implementation that is based on a bit set of accepted values.
|
class |
DayOfWeekFieldRule
Rules based on target days of the week without any special flags.
|
class |
RangeFieldRule
A cron field implementation that is based on a range of accepted values.
|
class |
SingleValueFieldRule
A cron field implementation that is based on a single accepted value.
|
class |
SpecialDayOfMonthFieldRule
Rule based on target day of month that uses either of the
L or W flags and is therefore
guaranteed to match at most a single day in any given month. |
class |
SpecialDayOfWeekLastFieldRule
Special rule for the last occurrence of the given day-of-week, such as the last Friday every month.
|
class |
SpecialDayOfWeekNthFieldRule
Rules based on target day of week that uses the
# flag and is therefore guaranteed to match at
most a single day in any given month. |
| Modifier and Type | Method and Description |
|---|---|
static FieldRule |
DayOfWeekFieldRule.of(BitSet values) |
static FieldRule |
BitSetFieldRule.of(DateTimeTemplate.Field field,
BitSet values)
Selects the most efficient implementation for the bit set provided.
|
static FieldRule |
RangeFieldRule.of(DateTimeTemplate.Field field,
int min,
int max)
Selects the most efficient implementation for the range provided.
|
Copyright © 2019 Atlassian. All rights reserved.