-
Notifications
You must be signed in to change notification settings - Fork 15
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
V2 add time manipulation #28
Conversation
…ew java.time api, e.g., plusDays, etc
…ew java.time api, e.g., plusDays, etc
Wow! Thanks! I will go through it within a couple of days @jeffyjin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except from my question about the enhanced wrapper, this looks very good and is beautifully done.
* Freemarker ObjectWrapper that extends the Java8ObjectWrapper with support for time manipulations in all temporal classes in the new java.time api. | ||
* Such time manipulation operations include plusSeconds, plusMinutes, etc. | ||
*/ | ||
public class EnhancedJava8ObjectWrapper extends Java8ObjectWrapper { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this Enhanced wrapper ? Couldn't we just add it to the Java8ObjetWrapper ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course. I didn't want to be too intrusive. I actually more prefer to merge the changes into Java8ObjetWrapper. Will modify PR soon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Please review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I will look into this and merge it soon. I think v2 should be released within a week or so.
2.0.0 release @jeffyjin. Available tomorrow from central repo. Again, thank you! |
Hi Lazee, as per your request, I re-applied the PR to V2 and added test cases and updated README.md. Please let me know your thoughts. Thanks