com.pivotallabs.greatexpectations.matchers.DateMatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of great-expectations Show documentation
Show all versions of great-expectations Show documentation
Jasmine-style expect() for Java.
package com.pivotallabs.greatexpectations.matchers;
import com.pivotallabs.greatexpectations.MatcherOf;
import java.util.Date;
@MatcherOf(Date.class)
public class DateMatcher> extends ComparableMatcher {
public boolean toBeLaterThan(T expectedDateThreshold) {
return toBeGreaterThan(expectedDateThreshold);
}
public boolean toBeEarlierThan(T expectedDateThreshold) {
return toBeLessThan(expectedDateThreshold);
}
}