GitHub PullRequestReviewCommentEvent at 2014-07-30 23:22:04
Repository: dropwizard
Actor: clamothe
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/comments/15618955","id":15618955,"diff_hunk":"@@ -0,0 +1,18 @@\n+package io.dropwizard.jersey.params;\n+\n+import org.joda.time.LocalDate;\n+\n+/**\n+ * A parameter encapsulating local date values. All non-parsable values will return a {@code 400 Bad\n+ * Request} response.\n+ */\n+public class LocalDateParam extends AbstractParam<LocalDate> {\n+    public LocalDateParam(String input) {\n+        super(input);\n+    }\n+\n+    @Override\n+    protected LocalDate parse(String input) throws Exception {\n+        return new LocalDate(input);","path":"dropwizard-jersey/src/main/java/io/dropwizard/jersey/params/LocalDateParam.java","position":16,"original_position":16,"commit_id":"4c94e900429b7b20322f77912be756d2661eaa37","original_commit_id":"4c94e900429b7b20322f77912be756d2661eaa37","user":{"login":"clamothe","id":37730,"avatar_url":"https://avatars.githubusercontent.com/u/37730?v=1","gravatar_id":"ef9e96e5da7b9b63cbb3d158b9ad34ba","url":"https://api.github.com/users/clamothe","html_url":"https://github.com/clamothe","followers_url":"https://api.github.com/users/clamothe/followers","following_url":"https://api.github.com/users/clamothe/following{/other_user}","gists_url":"https://api.github.com/users/clamothe/gists{/gist_id}","starred_url":"https://api.github.com/users/clamothe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clamothe/subscriptions","organizations_url":"https://api.github.com/users/clamothe/orgs","repos_url":"https://api.github.com/users/clamothe/repos","events_url":"https://api.github.com/users/clamothe/events{/privacy}","received_events_url":"https://api.github.com/users/clamothe/received_events","type":"User","site_admin":false},"body":"LocalDate is a time-zone-less date.  The DateTimeZone parameter of that constructor has no effect unless the Object represents a date with a time. In that case, the date time is forced to the specified timezone before it is truncated to it's date.\r\n\r\nIn calling the constructor without a specified DateTimeFormatter, it is consistent with DateTimeParam.","created_at":"2014-07-30T23:22:04Z","updated_at":"2014-07-30T23:22:04Z","html_url":"https://github.com/dropwizard/dropwizard/pull/668#discussion_r15618955","pull_request_url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/668","_links":{"self":{"href":"https://api.github.com/repos/dropwizard/dropwizard/pulls/comments/15618955"},"html":{"href":"https://github.com/dropwizard/dropwizard/pull/668#discussion_r15618955"},"pull_request":{"href":"https://api.github.com/repos/dropwizard/dropwizard/pulls/668"}}},"pull_request":{"url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/668","id":19120555,"html_url":"https://github.com/dropwizard/dropwizard/pull/668","diff_url":"https://github.com/dropwizard/dropwizard/pull/668.diff","patch_url":"https://github.com/dropwizard/dropwizard/pull/668.patch","issue_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/668","number":668,"state":"open","title":"Extended support for Joda Time (LocalDate class).","user":{"login":"clamothe","id":37730,"avatar_url":"https://avatars.githubusercontent.com/u/37730?v=1","gravatar_id":"ef9e96e5da7b9b63cbb3d158b9ad34ba","url":"https://api.github.com/users/clamothe","html_url":"https://github.com/clamothe","followers_url":"https://api.github.com/users/clamothe/followers","following_url":"https://api.github.com/users/clamothe/following{/other_user}","gists_url":"https://api.github.com/users/clamothe/gists{/gist_id}","starred_url":"https://api.github.com/users/clamothe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clamothe/subscriptions","organizations_url":"https://api.github.com/users/clamothe/orgs","repos_url":"https://api.github.com/users/clamothe/repos","events_url":"https://api.github.com/users/clamothe/events{/privacy}","received_events_url":"https://api.github.com/users/clamothe/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-07-30T21:59:05Z","updated_at":"2014-07-30T23:22:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2587a81e8991bb12b06504c00dd9bdf636b226bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/668/commits","review_comments_url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/668/comments","review_comment_url":"https://api.github.com/repos/dropwizard/dropwizard/pulls/comments/{number}","comments_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/668/comments","statuses_url":"https://api.github.com/repos/dropwizard/dropwizard/statuses/4c94e900429b7b20322f77912be756d2661eaa37","head":{"label":"clamothe:master","ref":"master","sha":"4c94e900429b7b20322f77912be756d2661eaa37","user":{"login":"clamothe","id":37730,"avatar_url":"https://avatars.githubusercontent.com/u/37730?v=1","gravatar_id":"ef9e96e5da7b9b63cbb3d158b9ad34ba","url":"https://api.github.com/users/clamothe","html_url":"https://github.com/clamothe","followers_url":"https://api.github.com/users/clamothe/followers","following_url":"https://api.github.com/users/clamothe/following{/other_user}","gists_url":"https://api.github.com/users/clamothe/gists{/gist_id}","starred_url":"https://api.github.com/users/clamothe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clamothe/subscriptions","organizations_url":"https://api.github.com/users/clamothe/orgs","repos_url":"https://api.github.com/users/clamothe/repos","events_url":"https://api.github.com/users/clamothe/events{/privacy}","received_events_url":"https://api.github.com/users/clamothe/received_events","type":"User","site_admin":false},"repo":{"id":22445940,"name":"dropwizard","full_name":"clamothe/dropwizard","owner":{"login":"clamothe","id":37730,"avatar_url":"https://avatars.githubusercontent.com/u/37730?v=1","gravatar_id":"ef9e96e5da7b9b63cbb3d158b9ad34ba","url":"https://api.github.com/users/clamothe","html_url":"https://github.com/clamothe","followers_url":"https://api.github.com/users/clamothe/followers","following_url":"https://api.github.com/users/clamothe/following{/other_user}","gists_url":"https://api.github.com/users/clamothe/gists{/gist_id}","starred_url":"https://api.github.com/users/clamothe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clamothe/subscriptions","organizations_url":"https://api.github.com/users/clamothe/orgs","repos_url":"https://api.github.com/users/clamothe/repos","events_url":"https://api.github.com/users/clamothe/events{/privacy}","received_events_url":"https://api.github.com/users/clamothe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clamothe/dropwizard","description":"A damn simple library for building production-ready RESTful web services.","fork":true,"url":"https://api.github.com/repos/clamothe/dropwizard","forks_url":"https://api.github.com/repos/clamothe/dropwizard/forks","keys_url":"https://api.github.com/repos/clamothe/dropwizard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clamothe/dropwizard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clamothe/dropwizard/teams","hooks_url":"https://api.github.com/repos/clamothe/dropwizard/hooks","issue_events_url":"https://api.github.com/repos/clamothe/dropwizard/issues/events{/number}","events_url":"https://api.github.com/repos/clamothe/dropwizard/events","assignees_url":"https://api.github.com/repos/clamothe/dropwizard/assignees{/user}","branches_url":"https://api.github.com/repos/clamothe/dropwizard/branches{/branch}","tags_url":"https://api.github.com/repos/clamothe/dropwizard/tags","blobs_url":"https://api.github.com/repos/clamothe/dropwizard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clamothe/dropwizard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clamothe/dropwizard/git/refs{/sha}","trees_url":"https://api.github.com/repos/clamothe/dropwizard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clamothe/dropwizard/statuses/{sha}","languages_url":"https://api.github.com/repos/clamothe/dropwizard/languages","stargazers_url":"https://api.github.com/repos/clamothe/dropwizard/stargazers","contributors_url":"https://api.github.com/repos/clamothe/dropwizard/contributors","subscribers_url":"https://api.github.com/repos/clamothe/dropwizard/subscribers","subscription_url":"https://api.github.com/repos/clamothe/dropwizard/subscription","commits_url":"https://api.github.com/repos/clamothe/dropwizard/commits{/sha}","git_commits_url":"https://api.github.com/repos/clamothe/dropwizard/git/commits{/sha}","comments_url":"https://api.github.com/repos/clamothe/dropwizard/comments{/number}","issue_comment_url":"https://api.github.com/repos/clamothe/dropwizard/issues/comments/{number}","contents_url":"https://api.github.com/repos/clamothe/dropwizard/contents/{+path}","compare_url":"https://api.github.com/repos/clamothe/dropwizard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clamothe/dropwizard/merges","archive_url":"https://api.github.com/repos/clamothe/dropwizard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clamothe/dropwizard/downloads","issues_url":"https://api.github.com/repos/clamothe/dropwizard/issues{/number}","pulls_url":"https://api.github.com/repos/clamothe/dropwizard/pulls{/number}","milestones_url":"https://api.github.com/repos/clamothe/dropwizard/milestones{/number}","notifications_url":"https://api.github.com/repos/clamothe/dropwizard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clamothe/dropwizard/labels{/name}","releases_url":"https://api.github.com/repos/clamothe/dropwizard/releases{/id}","created_at":"2014-07-30T21:45:57Z","updated_at":"2014-07-30T21:58:43Z","pushed_at":"2014-07-30T21:58:42Z","git_url":"git://github.com/clamothe/dropwizard.git","ssh_url":"git@github.com:clamothe/dropwizard.git","clone_url":"https://github.com/clamothe/dropwizard.git","svn_url":"https://github.com/clamothe/dropwizard","homepage":"http://www.dropwizard.io","size":18426,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"dropwizard:master","ref":"master","sha":"d8721c86d904d82fcf687e69af0e9317300a86b7","user":{"login":"dropwizard","id":5478557,"avatar_url":"https://avatars.githubusercontent.com/u/5478557?v=1","gravatar_id":null,"url":"https://api.github.com/users/dropwizard","html_url":"https://github.com/dropwizard","followers_url":"https://api.github.com/users/dropwizard/followers","following_url":"https://api.github.com/users/dropwizard/following{/other_user}","gists_url":"https://api.github.com/users/dropwizard/gists{/gist_id}","starred_url":"https://api.github.com/users/dropwizard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dropwizard/subscriptions","organizations_url":"https://api.github.com/users/dropwizard/orgs","repos_url":"https://api.github.com/users/dropwizard/repos","events_url":"https://api.github.com/users/dropwizard/events{/privacy}","received_events_url":"https://api.github.com/users/dropwizard/received_events","type":"Organization","site_admin":false},"repo":{"id":1272129,"name":"dropwizard","full_name":"dropwizard/dropwizard","owner":{"login":"dropwizard","id":5478557,"avatar_url":"https://avatars.githubusercontent.com/u/5478557?v=1","gravatar_id":null,"url":"https://api.github.com/users/dropwizard","html_url":"https://github.com/dropwizard","followers_url":"https://api.github.com/users/dropwizard/followers","following_url":"https://api.github.com/users/dropwizard/following{/other_user}","gists_url":"https://api.github.com/users/dropwizard/gists{/gist_id}","starred_url":"https://api.github.com/users/dropwizard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dropwizard/subscriptions","organizations_url":"https://api.github.com/users/dropwizard/orgs","repos_url":"https://api.github.com/users/dropwizard/repos","events_url":"https://api.github.com/users/dropwizard/events{/privacy}","received_events_url":"https://api.github.com/users/dropwizard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dropwizard/dropwizard","description":"A damn simple library for building production-ready RESTful web services.","fork":false,"url":"https://api.github.com/repos/dropwizard/dropwizard","forks_url":"https://api.github.com/repos/dropwizard/dropwizard/forks","keys_url":"https://api.github.com/repos/dropwizard/dropwizard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dropwizard/dropwizard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dropwizard/dropwizard/teams","hooks_url":"https://api.github.com/repos/dropwizard/dropwizard/hooks","issue_events_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/events{/number}","events_url":"https://api.github.com/repos/dropwizard/dropwizard/events","assignees_url":"https://api.github.com/repos/dropwizard/dropwizard/assignees{/user}","branches_url":"https://api.github.com/repos/dropwizard/dropwizard/branches{/branch}","tags_url":"https://api.github.com/repos/dropwizard/dropwizard/tags","blobs_url":"https://api.github.com/repos/dropwizard/dropwizard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dropwizard/dropwizard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dropwizard/dropwizard/git/refs{/sha}","trees_url":"https://api.github.com/repos/dropwizard/dropwizard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dropwizard/dropwizard/statuses/{sha}","languages_url":"https://api.github.com/repos/dropwizard/dropwizard/languages","stargazers_url":"https://api.github.com/repos/dropwizard/dropwizard/stargazers","contributors_url":"https://api.github.com/repos/dropwizard/dropwizard/contributors","subscribers_url":"https://api.github.com/repos/dropwizard/dropwizard/subscribers","subscription_url":"https://api.github.com/repos/dropwizard/dropwizard/subscription","commits_url":"https://api.github.com/repos/dropwizard/dropwizard/commits{/sha}","git_commits_url":"https://api.github.com/repos/dropwizard/dropwizard/git/commits{/sha}","comments_url":"https://api.github.com/repos/dropwizard/dropwizard/comments{/number}","issue_comment_url":"https://api.github.com/repos/dropwizard/dropwizard/issues/comments/{number}","contents_url":"https://api.github.com/repos/dropwizard/dropwizard/contents/{+path}","compare_url":"https://api.github.com/repos/dropwizard/dropwizard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dropwizard/dropwizard/merges","archive_url":"https://api.github.com/repos/dropwizard/dropwizard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dropwizard/dropwizard/downloads","issues_url":"https://api.github.com/repos/dropwizard/dropwizard/issues{/number}","pulls_url":"https://api.github.com/repos/dropwizard/dropwizard/pulls{/number}","milestones_url":"https://api.github.com/repos/dropwizard/dropwizard/milestones{/number}","notifications_url":"https://api.github.com/repos/dropwizard/dropwizard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dropwizard/dropwizard/labels{/name}","releases_url":"https://api.github.com/repos/dropwizard/dropwizard/releases{/id}","created_at":"2011-01-19T19:52:29Z","updated_at":"2014-07-30T23:17:34Z","pushed_at":"2014-07-24T11:14:59Z","git_url":"git://github.com/dropwizard/dropwizard.git","ssh_url":"git@github.com:dropwizard/dropwizard.git","clone_url":"https://github.com/dropwizard/dropwizard.git","svn_url":"https://github.com/dropwizard/dropwizard","homepage":"http://www.dropwizard.io","size":18426,"stargazers_count":2172,"watchers_count":2172,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":864,"mirror_url":null,"open_issues_count":54,"forks":864,"open_issues":54,"watchers":2172,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dropwizard/dropwizard/pulls/668"},"html":{"href":"https://github.com/dropwizard/dropwizard/pull/668"},"issue":{"href":"https://api.github.com/repos/dropwizard/dropwizard/issues/668"},"comments":{"href":"https://api.github.com/repos/dropwizard/dropwizard/issues/668/comments"},"review_comments":{"href":"https://api.github.com/repos/dropwizard/dropwizard/pulls/668/comments"},"review_comment":{"href":"https://api.github.com/repos/dropwizard/dropwizard/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/dropwizard/dropwizard/pulls/668/commits"},"statuses":{"href":"https://api.github.com/repos/dropwizard/dropwizard/statuses/4c94e900429b7b20322f77912be756d2661eaa37"}}}}