src/main/java/org/fest/assertions/error/ShouldBeWithin.java
public static ErrorMessageFactory shouldBeWithin(Date actual, String fieldDescription, int fieldValue) {
    return new ShouldBeWithin(actual, fieldDescription, fieldValue);
  }
public static ErrorMessageFactory shouldBeWithin(Date actual, String fieldDescription, int fieldValue) {
    return new ShouldBeWithin(actual, fieldDescription, fieldValue);
  }
public static ErrorMessageFactory shouldBeWithin ( Date actual , String fieldDescription , int fieldValue ) { return new ShouldBeWithin ( actual , fieldDescription , fieldValue ) ; }
Creates a new </code>{@link ShouldBeWithin}</code>.
@param actual the actual value in the failed assertion.
@param fieldDescription the fieldDescription of value : year, month, day, ...
@param fieldValue the field value used in the failed assertion to compare the actual date field value to.
@return the created {@code ErrorMessageFactory}.
Creates a new < / code > {