-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Added Java 8 InstantParam with test. #2048
Conversation
import java.time.ZoneOffset; | ||
import java.time.LocalDateTime; | ||
|
||
/** |
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.
Please remove the @author
tag (or rather the complete Javadoc comment).
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.
I missed that one, editor added it automatically.
/** | ||
* @author Daniel White | ||
*/ | ||
public class InstantParamTest { |
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.
Please add a test case for bad input.
53d78e5
to
8710100
Compare
8710100
to
ccf006c
Compare
@joschi I made the requested changes, let me know if it needs more work |
@lightswitch05 Thanks! |
Some java 8 users might want to avoid Joda-Time in favor of Instant