@DoNotObfuscate
public final class DateValidator
extends com.pdfunit.validators.AbstractValidator
Constructor and Description |
---|
DateValidator(DocumentValidator documentValidator) |
Modifier and Type | Method and Description |
---|---|
DateValidator |
after(java.util.Calendar dateLowerLimit,
DateResolution resolution)
Verifying that a date of the PDF document is higher, than the limit, given by the
first parameter.
|
DateValidator |
before(java.util.Calendar dateUpperLimit,
DateResolution resolution)
Verifying that a date of the PDF document is lower, than the limit, given by the
first parameter.
|
DateValidator |
equalsTo(java.util.Calendar expectedDate,
DateResolution resolution)
Verifying that a date of the PDF document is equal to the date, given by the
first parameter.
|
DateValidator |
hasCreationDate()
This method does what the name suggests.
|
DateValidator |
hasModificationDate()
This method does what the name suggests.
|
void |
hasNoCreationDate()
This method does what the name suggests.
|
void |
hasNoModificationDate()
This method does what the name suggests.
|
public DateValidator(DocumentValidator documentValidator)
public DateValidator hasCreationDate()
public DateValidator hasModificationDate()
public void hasNoCreationDate()
public void hasNoModificationDate()
@Guarded public DateValidator equalsTo(java.util.Calendar expectedDate, DateResolution resolution)
@Guarded public DateValidator before(java.util.Calendar dateUpperLimit, DateResolution resolution)
@Guarded public DateValidator after(java.util.Calendar dateLowerLimit, DateResolution resolution)
Copyright (C) PDFUnit.com. See here for license.