Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recalculate a time- inferred date #77

Open
fhossfel opened this issue Jul 1, 2014 · 0 comments
Open

Recalculate a time- inferred date #77

fhossfel opened this issue Jul 1, 2014 · 0 comments

Comments

@fhossfel
Copy link

fhossfel commented Jul 1, 2014

It would be great if DateGroup supported something like refresh() to recalculate the relative dates. Ideally this would not require a reparse but even it does it seems to me a much cleaner API to have a refresh than to reparse the string everytime.

Background: i am using Natty for a caching servlet filter where I can specify expiry based on the refresh cacles of our data warehouse:

   <init-param>
       <param-name>EXPIRES</param-name>
       <param-value>tomorrow 8:00</param-value>
   </init-param>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant