public final class DateUtil extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static boolean | verifyCreated(Date createdDate,
             int timeToLive,
             int futureTimeToLive)Return true if the "Created" value is before the current time minus the timeToLive
 argument, and if the Created value is not "in the future". | 
public static boolean verifyCreated(Date createdDate, int timeToLive, int futureTimeToLive)
timeToLive - the value in seconds for the validity of the Created timefutureTimeToLive - the value in seconds for the future validity of the Created timeCopyright © 2017 JBoss by Red Hat. All rights reserved.