public class CronExpressionAssertions extends Object
Note that the order of the arguments matches that of the cron expressions so that it is easier to tell by inspection whether or not the expression should match.
| Constructor and Description |
|---|
CronExpressionAssertions() |
| Modifier and Type | Method and Description |
|---|---|
static org.hamcrest.Matcher<Date> |
runTime(int second,
int minute,
int hour,
int day,
int month,
int year,
org.joda.time.DateTimeZone zone) |
static org.hamcrest.Matcher<Date> |
runTime(int second,
int minute,
int hour,
int day,
int month,
int year,
org.joda.time.DateTimeZone zone,
long millis) |
static org.hamcrest.Matcher<? super Date> |
runTime(long timestamp) |
static org.hamcrest.Matcher<CronFactory.CronExpressionAdapter> |
satisfiedBy(int second,
int minute,
int hour,
int day,
int month,
int year) |
static org.hamcrest.Matcher<CronFactory.CronExpressionAdapter> |
satisfiedBy(int second,
int minute,
int hour,
int day,
int month,
int year,
org.joda.time.DateTimeZone zone) |
static org.hamcrest.Matcher<CronFactory.CronExpressionAdapter> |
unsatisfiedBy(int second,
int minute,
int hour,
int day,
int month,
int year) |
static org.hamcrest.Matcher<CronFactory.CronExpressionAdapter> |
unsatisfiedBy(int second,
int minute,
int hour,
int day,
int month,
int year,
org.joda.time.DateTimeZone zone) |
public static org.hamcrest.Matcher<CronFactory.CronExpressionAdapter> satisfiedBy(int second, int minute, int hour, int day, int month, int year)
public static org.hamcrest.Matcher<CronFactory.CronExpressionAdapter> satisfiedBy(int second, int minute, int hour, int day, int month, int year, org.joda.time.DateTimeZone zone)
public static org.hamcrest.Matcher<CronFactory.CronExpressionAdapter> unsatisfiedBy(int second, int minute, int hour, int day, int month, int year)
public static org.hamcrest.Matcher<CronFactory.CronExpressionAdapter> unsatisfiedBy(int second, int minute, int hour, int day, int month, int year, org.joda.time.DateTimeZone zone)
public static org.hamcrest.Matcher<? super Date> runTime(long timestamp)
public static org.hamcrest.Matcher<Date> runTime(int second, int minute, int hour, int day, int month, int year, org.joda.time.DateTimeZone zone)
public static org.hamcrest.Matcher<Date> runTime(int second, int minute, int hour, int day, int month, int year, org.joda.time.DateTimeZone zone, long millis)
Copyright © 2017 Atlassian. All rights reserved.