public class IsValidThroughDate extends AbstractSpecification<String>
Constructor and Description |
---|
IsValidThroughDate(String fromDate) |
Modifier and Type | Method and Description |
---|---|
Date |
getFromDate() |
long |
getPoc() |
Date |
getThroughDate() |
protected boolean |
isDaysInRange(String date) |
boolean |
isExceeded() |
boolean |
isPreceded() |
boolean |
isSatisfiedBy(String throughDate) |
boolean |
isShorter() |
and, not, or
public IsValidThroughDate(String fromDate)
fromDate
- public Date getThroughDate()
public boolean isExceeded()
public boolean isPreceded()
public boolean isSatisfiedBy(String throughDate)
isSatisfiedBy
in interface Specification<String>
isSatisfiedBy
in class AbstractSpecification<String>
throughDate
- public Date getFromDate()
protected boolean isDaysInRange(String date)
date
- public boolean isShorter()
public long getPoc()
Copyright © 2023. All rights reserved.