{"action":"created","comment":{"url":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls/comments/112823163","pull_request_review_id":34169878,"id":112823163,"diff_hunk":"@@ -72,15 +78,29 @@ private void setUpView() {\n         button.setOnClickListener(new View.OnClickListener() {\n             @Override\n             public void onClick(View v) {\n-                dateFromSpinner = new String(hour+\":\"+minute);\n-                Intent intent = new Intent(HINTsPhoneActivity.this, HINTsMapActivity.class);\n-                intent.putExtra(\"station_name\", station.getText().toString()); // 駅名\n-                intent.putExtra(\"station_lon\", stations.get(station.getText().toString())[1].toString()); // 駅の緯度経度\n-                intent.putExtra(\"station_lat\", stations.get(station.getText().toString())[2].toString()); // 駅の緯度経度\n+                if (Integer.parseInt(hour) < calenderHour ||\n+                        (Integer.parseInt(hour) == calenderHour) && Integer.parseInt(minute) < calenderMinute) {\n+                    AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(v.getContext());\n+                    alertDialogBuilder.setTitle(\"ERROR\");\n+                    alertDialogBuilder.setMessage(\"現在の時刻よりあとを指定してください\");\n+                    alertDialogBuilder.setPositiveButton(\"yes\", new DialogInterface.OnClickListener() {","path":"hintsphone/src/main/java/com/hintsphone/view/HINTsPhoneActivity.java","position":45,"original_position":45,"commit_id":"c589d78a6837e6a47c726d1559e3855d5ad1be70","original_commit_id":"c589d78a6837e6a47c726d1559e3855d5ad1be70","user":{"login":"duchuyctlk","id":7861233,"avatar_url":"https://avatars0.githubusercontent.com/u/7861233?v=3","gravatar_id":"","url":"https://api.github.com/users/duchuyctlk","html_url":"https://github.com/duchuyctlk","followers_url":"https://api.github.com/users/duchuyctlk/followers","following_url":"https://api.github.com/users/duchuyctlk/following{/other_user}","gists_url":"https://api.github.com/users/duchuyctlk/gists{/gist_id}","starred_url":"https://api.github.com/users/duchuyctlk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duchuyctlk/subscriptions","organizations_url":"https://api.github.com/users/duchuyctlk/orgs","repos_url":"https://api.github.com/users/duchuyctlk/repos","events_url":"https://api.github.com/users/duchuyctlk/events{/privacy}","received_events_url":"https://api.github.com/users/duchuyctlk/received_events","type":"User","site_admin":false},"body":"If currently you don't want to handle the `onClick` event on the button, you could pass null as the second parameter of the method call.","created_at":"2017-04-23T02:12:25Z","updated_at":"2017-04-23T02:12:25Z","html_url":"https://github.com/Takaki-Tojo/HINTs/pull/21#discussion_r112823163","pull_request_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls/comments/112823163"},"html":{"href":"https://github.com/Takaki-Tojo/HINTs/pull/21#discussion_r112823163"},"pull_request":{"href":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls/21","id":117132797,"html_url":"https://github.com/Takaki-Tojo/HINTs/pull/21","diff_url":"https://github.com/Takaki-Tojo/HINTs/pull/21.diff","patch_url":"https://github.com/Takaki-Tojo/HINTs/pull/21.patch","issue_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/issues/21","number":21,"state":"open","locked":false,"title":"Alert","user":{"login":"g-hyoga","id":12538942,"avatar_url":"https://avatars0.githubusercontent.com/u/12538942?v=3","gravatar_id":"","url":"https://api.github.com/users/g-hyoga","html_url":"https://github.com/g-hyoga","followers_url":"https://api.github.com/users/g-hyoga/followers","following_url":"https://api.github.com/users/g-hyoga/following{/other_user}","gists_url":"https://api.github.com/users/g-hyoga/gists{/gist_id}","starred_url":"https://api.github.com/users/g-hyoga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g-hyoga/subscriptions","organizations_url":"https://api.github.com/users/g-hyoga/orgs","repos_url":"https://api.github.com/users/g-hyoga/repos","events_url":"https://api.github.com/users/g-hyoga/events{/privacy}","received_events_url":"https://api.github.com/users/g-hyoga/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-04-23T01:58:40Z","updated_at":"2017-04-23T02:12:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"394a4c10c8b0bb1fbd4acaa3016146e1ed3cb949","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls/21/commits","review_comments_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls/21/comments","review_comment_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/issues/21/comments","statuses_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/statuses/c589d78a6837e6a47c726d1559e3855d5ad1be70","head":{"label":"Takaki-Tojo:alert","ref":"alert","sha":"c589d78a6837e6a47c726d1559e3855d5ad1be70","user":{"login":"Takaki-Tojo","id":18277935,"avatar_url":"https://avatars1.githubusercontent.com/u/18277935?v=3","gravatar_id":"","url":"https://api.github.com/users/Takaki-Tojo","html_url":"https://github.com/Takaki-Tojo","followers_url":"https://api.github.com/users/Takaki-Tojo/followers","following_url":"https://api.github.com/users/Takaki-Tojo/following{/other_user}","gists_url":"https://api.github.com/users/Takaki-Tojo/gists{/gist_id}","starred_url":"https://api.github.com/users/Takaki-Tojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Takaki-Tojo/subscriptions","organizations_url":"https://api.github.com/users/Takaki-Tojo/orgs","repos_url":"https://api.github.com/users/Takaki-Tojo/repos","events_url":"https://api.github.com/users/Takaki-Tojo/events{/privacy}","received_events_url":"https://api.github.com/users/Takaki-Tojo/received_events","type":"User","site_admin":false},"repo":{"id":87818155,"name":"HINTs","full_name":"Takaki-Tojo/HINTs","owner":{"login":"Takaki-Tojo","id":18277935,"avatar_url":"https://avatars1.githubusercontent.com/u/18277935?v=3","gravatar_id":"","url":"https://api.github.com/users/Takaki-Tojo","html_url":"https://github.com/Takaki-Tojo","followers_url":"https://api.github.com/users/Takaki-Tojo/followers","following_url":"https://api.github.com/users/Takaki-Tojo/following{/other_user}","gists_url":"https://api.github.com/users/Takaki-Tojo/gists{/gist_id}","starred_url":"https://api.github.com/users/Takaki-Tojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Takaki-Tojo/subscriptions","organizations_url":"https://api.github.com/users/Takaki-Tojo/orgs","repos_url":"https://api.github.com/users/Takaki-Tojo/repos","events_url":"https://api.github.com/users/Takaki-Tojo/events{/privacy}","received_events_url":"https://api.github.com/users/Takaki-Tojo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Takaki-Tojo/HINTs","description":null,"fork":false,"url":"https://api.github.com/repos/Takaki-Tojo/HINTs","forks_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/forks","keys_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/teams","hooks_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/hooks","issue_events_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/issues/events{/number}","events_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/events","assignees_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/assignees{/user}","branches_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/branches{/branch}","tags_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/tags","blobs_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/statuses/{sha}","languages_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/languages","stargazers_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/stargazers","contributors_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/contributors","subscribers_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/subscribers","subscription_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/subscription","commits_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/contents/{+path}","compare_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/merges","archive_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/downloads","issues_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/issues{/number}","pulls_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls{/number}","milestones_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/milestones{/number}","notifications_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/labels{/name}","releases_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/releases{/id}","deployments_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/deployments","created_at":"2017-04-10T14:06:37Z","updated_at":"2017-04-20T09:59:55Z","pushed_at":"2017-04-23T02:06:10Z","git_url":"git://github.com/Takaki-Tojo/HINTs.git","ssh_url":"git@github.com:Takaki-Tojo/HINTs.git","clone_url":"https://github.com/Takaki-Tojo/HINTs.git","svn_url":"https://github.com/Takaki-Tojo/HINTs","homepage":null,"size":578,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"Takaki-Tojo:master","ref":"master","sha":"819a8edc384fbb32ef77e0d5c426a9ae751db37b","user":{"login":"Takaki-Tojo","id":18277935,"avatar_url":"https://avatars1.githubusercontent.com/u/18277935?v=3","gravatar_id":"","url":"https://api.github.com/users/Takaki-Tojo","html_url":"https://github.com/Takaki-Tojo","followers_url":"https://api.github.com/users/Takaki-Tojo/followers","following_url":"https://api.github.com/users/Takaki-Tojo/following{/other_user}","gists_url":"https://api.github.com/users/Takaki-Tojo/gists{/gist_id}","starred_url":"https://api.github.com/users/Takaki-Tojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Takaki-Tojo/subscriptions","organizations_url":"https://api.github.com/users/Takaki-Tojo/orgs","repos_url":"https://api.github.com/users/Takaki-Tojo/repos","events_url":"https://api.github.com/users/Takaki-Tojo/events{/privacy}","received_events_url":"https://api.github.com/users/Takaki-Tojo/received_events","type":"User","site_admin":false},"repo":{"id":87818155,"name":"HINTs","full_name":"Takaki-Tojo/HINTs","owner":{"login":"Takaki-Tojo","id":18277935,"avatar_url":"https://avatars1.githubusercontent.com/u/18277935?v=3","gravatar_id":"","url":"https://api.github.com/users/Takaki-Tojo","html_url":"https://github.com/Takaki-Tojo","followers_url":"https://api.github.com/users/Takaki-Tojo/followers","following_url":"https://api.github.com/users/Takaki-Tojo/following{/other_user}","gists_url":"https://api.github.com/users/Takaki-Tojo/gists{/gist_id}","starred_url":"https://api.github.com/users/Takaki-Tojo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Takaki-Tojo/subscriptions","organizations_url":"https://api.github.com/users/Takaki-Tojo/orgs","repos_url":"https://api.github.com/users/Takaki-Tojo/repos","events_url":"https://api.github.com/users/Takaki-Tojo/events{/privacy}","received_events_url":"https://api.github.com/users/Takaki-Tojo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Takaki-Tojo/HINTs","description":null,"fork":false,"url":"https://api.github.com/repos/Takaki-Tojo/HINTs","forks_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/forks","keys_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/teams","hooks_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/hooks","issue_events_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/issues/events{/number}","events_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/events","assignees_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/assignees{/user}","branches_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/branches{/branch}","tags_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/tags","blobs_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/statuses/{sha}","languages_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/languages","stargazers_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/stargazers","contributors_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/contributors","subscribers_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/subscribers","subscription_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/subscription","commits_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/contents/{+path}","compare_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/merges","archive_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/downloads","issues_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/issues{/number}","pulls_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls{/number}","milestones_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/milestones{/number}","notifications_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/labels{/name}","releases_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/releases{/id}","deployments_url":"https://api.github.com/repos/Takaki-Tojo/HINTs/deployments","created_at":"2017-04-10T14:06:37Z","updated_at":"2017-04-20T09:59:55Z","pushed_at":"2017-04-23T02:06:10Z","git_url":"git://github.com/Takaki-Tojo/HINTs.git","ssh_url":"git@github.com:Takaki-Tojo/HINTs.git","clone_url":"https://github.com/Takaki-Tojo/HINTs.git","svn_url":"https://github.com/Takaki-Tojo/HINTs","homepage":null,"size":578,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls/21"},"html":{"href":"https://github.com/Takaki-Tojo/HINTs/pull/21"},"issue":{"href":"https://api.github.com/repos/Takaki-Tojo/HINTs/issues/21"},"comments":{"href":"https://api.github.com/repos/Takaki-Tojo/HINTs/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Takaki-Tojo/HINTs/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/Takaki-Tojo/HINTs/statuses/c589d78a6837e6a47c726d1559e3855d5ad1be70"}}}}
{"actor":{"display_login":"duchuyctlk"}}