public boolean isExpired(final Date now){
  return (cookieExpiryDate != null && cookieExpiryDate.getTime() <= now.getTime());
}

public boolean isExpired ( final Date now ) { return ( cookieExpiryDate != null && cookieExpiryDate . getTime ( ) <= now . getTime ( ) ) ; }
returns true if this cookie has expired according to the time passed in .
