{"action":"created","comment":{"url":"https://api.github.com/repos/dataloom/integrations/pulls/comments/108750837","pull_request_review_id":29803380,"id":108750837,"diff_hunk":"@@ -99,24 +98,27 @@ public static void main( String[] args ) throws InterruptedException {\n     // CUSTOM FUNCTIONS DEFINED BELOW\n \n     public static String paddedTime( String time ) {\n-      int original = Integer.parseInt(time);\n-      String padded = String.format(\"%04d\", original);\n-      return padded;\n+        int original = Integer.parseInt( time );\n+        String padded = String.format( \"%04d\", original );\n+        return padded;\n     }\n \n     public static String standardizeDateTime( Object myDate, Object myTime ) {\n-      if (myDate != null && myTime == null) {\n-        FormattedDateTime date = new FormattedDateTime( myDate.toString(), null, \"MM/dd/yyyy\", null);\n-        return date.getDateTime();\n-      }\n-      if (myDate == null && myTime != null) {\n-        FormattedDateTime time = new FormattedDateTime( null, paddedTime(myTime.toString()), null, \"HHmm\");\n-        return time.getDateTime();\n-      }\n-      if (myDate != null && myTime != null) {\n-        FormattedDateTime dateTime = new FormattedDateTime( myDate.toString(), paddedTime(myTime.toString()), \"MM/dd/yyyy\", \"HHmm\");\n-        return dateTime.getDateTime();\n-      }\n-      return null;\n+        if ( myDate != null && myTime == null ) {","path":"slcshelterarrests/src/main/java/com/dataloom/integrations/dataintegration/DataIntegration.java","position":null,"original_position":77,"commit_id":"d9904b416564ba79f67d1a2093cc190608f94695","original_commit_id":"87eac7b5507b5f55a155802079e924a60757521d","user":{"login":"UnsungHero97","id":440299,"avatar_url":"https://avatars2.githubusercontent.com/u/440299?v=3","gravatar_id":"","url":"https://api.github.com/users/UnsungHero97","html_url":"https://github.com/UnsungHero97","followers_url":"https://api.github.com/users/UnsungHero97/followers","following_url":"https://api.github.com/users/UnsungHero97/following{/other_user}","gists_url":"https://api.github.com/users/UnsungHero97/gists{/gist_id}","starred_url":"https://api.github.com/users/UnsungHero97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnsungHero97/subscriptions","organizations_url":"https://api.github.com/users/UnsungHero97/orgs","repos_url":"https://api.github.com/users/UnsungHero97/repos","events_url":"https://api.github.com/users/UnsungHero97/events{/privacy}","received_events_url":"https://api.github.com/users/UnsungHero97/received_events","type":"User","site_admin":false},"body":"Got it. In that case, since `FormattedDateTime` is a utility class that will be reused across integration, it will need to be moved to some shared location so that it's not copied each time. I'll file a ticket for that.","created_at":"2017-03-29T18:24:04Z","updated_at":"2017-03-29T18:24:04Z","html_url":"https://github.com/dataloom/integrations/pull/9#discussion_r108750837","pull_request_url":"https://api.github.com/repos/dataloom/integrations/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/dataloom/integrations/pulls/comments/108750837"},"html":{"href":"https://github.com/dataloom/integrations/pull/9#discussion_r108750837"},"pull_request":{"href":"https://api.github.com/repos/dataloom/integrations/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/dataloom/integrations/pulls/9","id":113065171,"html_url":"https://github.com/dataloom/integrations/pull/9","diff_url":"https://github.com/dataloom/integrations/pull/9.diff","patch_url":"https://github.com/dataloom/integrations/pull/9.patch","issue_url":"https://api.github.com/repos/dataloom/integrations/issues/9","number":9,"state":"open","locked":false,"title":"Add SLC Shelter Arrest Data Integration","user":{"login":"jmvx","id":1475406,"avatar_url":"https://avatars0.githubusercontent.com/u/1475406?v=3","gravatar_id":"","url":"https://api.github.com/users/jmvx","html_url":"https://github.com/jmvx","followers_url":"https://api.github.com/users/jmvx/followers","following_url":"https://api.github.com/users/jmvx/following{/other_user}","gists_url":"https://api.github.com/users/jmvx/gists{/gist_id}","starred_url":"https://api.github.com/users/jmvx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmvx/subscriptions","organizations_url":"https://api.github.com/users/jmvx/orgs","repos_url":"https://api.github.com/users/jmvx/repos","events_url":"https://api.github.com/users/jmvx/events{/privacy}","received_events_url":"https://api.github.com/users/jmvx/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-03-28T20:56:12Z","updated_at":"2017-03-29T18:24:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7a053d071ed501bdd27dd9cc74e7f614f0dd42c4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dataloom/integrations/pulls/9/commits","review_comments_url":"https://api.github.com/repos/dataloom/integrations/pulls/9/comments","review_comment_url":"https://api.github.com/repos/dataloom/integrations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dataloom/integrations/issues/9/comments","statuses_url":"https://api.github.com/repos/dataloom/integrations/statuses/d9904b416564ba79f67d1a2093cc190608f94695","head":{"label":"dataloom:feature/minnehaha","ref":"feature/minnehaha","sha":"d9904b416564ba79f67d1a2093cc190608f94695","user":{"login":"dataloom","id":23568223,"avatar_url":"https://avatars0.githubusercontent.com/u/23568223?v=3","gravatar_id":"","url":"https://api.github.com/users/dataloom","html_url":"https://github.com/dataloom","followers_url":"https://api.github.com/users/dataloom/followers","following_url":"https://api.github.com/users/dataloom/following{/other_user}","gists_url":"https://api.github.com/users/dataloom/gists{/gist_id}","starred_url":"https://api.github.com/users/dataloom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dataloom/subscriptions","organizations_url":"https://api.github.com/users/dataloom/orgs","repos_url":"https://api.github.com/users/dataloom/repos","events_url":"https://api.github.com/users/dataloom/events{/privacy}","received_events_url":"https://api.github.com/users/dataloom/received_events","type":"Organization","site_admin":false},"repo":{"id":79507355,"name":"integrations","full_name":"dataloom/integrations","owner":{"login":"dataloom","id":23568223,"avatar_url":"https://avatars0.githubusercontent.com/u/23568223?v=3","gravatar_id":"","url":"https://api.github.com/users/dataloom","html_url":"https://github.com/dataloom","followers_url":"https://api.github.com/users/dataloom/followers","following_url":"https://api.github.com/users/dataloom/following{/other_user}","gists_url":"https://api.github.com/users/dataloom/gists{/gist_id}","starred_url":"https://api.github.com/users/dataloom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dataloom/subscriptions","organizations_url":"https://api.github.com/users/dataloom/orgs","repos_url":"https://api.github.com/users/dataloom/repos","events_url":"https://api.github.com/users/dataloom/events{/privacy}","received_events_url":"https://api.github.com/users/dataloom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dataloom/integrations","description":"Data integrations for Loom","fork":false,"url":"https://api.github.com/repos/dataloom/integrations","forks_url":"https://api.github.com/repos/dataloom/integrations/forks","keys_url":"https://api.github.com/repos/dataloom/integrations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dataloom/integrations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dataloom/integrations/teams","hooks_url":"https://api.github.com/repos/dataloom/integrations/hooks","issue_events_url":"https://api.github.com/repos/dataloom/integrations/issues/events{/number}","events_url":"https://api.github.com/repos/dataloom/integrations/events","assignees_url":"https://api.github.com/repos/dataloom/integrations/assignees{/user}","branches_url":"https://api.github.com/repos/dataloom/integrations/branches{/branch}","tags_url":"https://api.github.com/repos/dataloom/integrations/tags","blobs_url":"https://api.github.com/repos/dataloom/integrations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dataloom/integrations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dataloom/integrations/git/refs{/sha}","trees_url":"https://api.github.com/repos/dataloom/integrations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dataloom/integrations/statuses/{sha}","languages_url":"https://api.github.com/repos/dataloom/integrations/languages","stargazers_url":"https://api.github.com/repos/dataloom/integrations/stargazers","contributors_url":"https://api.github.com/repos/dataloom/integrations/contributors","subscribers_url":"https://api.github.com/repos/dataloom/integrations/subscribers","subscription_url":"https://api.github.com/repos/dataloom/integrations/subscription","commits_url":"https://api.github.com/repos/dataloom/integrations/commits{/sha}","git_commits_url":"https://api.github.com/repos/dataloom/integrations/git/commits{/sha}","comments_url":"https://api.github.com/repos/dataloom/integrations/comments{/number}","issue_comment_url":"https://api.github.com/repos/dataloom/integrations/issues/comments{/number}","contents_url":"https://api.github.com/repos/dataloom/integrations/contents/{+path}","compare_url":"https://api.github.com/repos/dataloom/integrations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dataloom/integrations/merges","archive_url":"https://api.github.com/repos/dataloom/integrations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dataloom/integrations/downloads","issues_url":"https://api.github.com/repos/dataloom/integrations/issues{/number}","pulls_url":"https://api.github.com/repos/dataloom/integrations/pulls{/number}","milestones_url":"https://api.github.com/repos/dataloom/integrations/milestones{/number}","notifications_url":"https://api.github.com/repos/dataloom/integrations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dataloom/integrations/labels{/name}","releases_url":"https://api.github.com/repos/dataloom/integrations/releases{/id}","deployments_url":"https://api.github.com/repos/dataloom/integrations/deployments","created_at":"2017-01-19T23:58:49Z","updated_at":"2017-02-06T18:07:28Z","pushed_at":"2017-03-29T18:09:31Z","git_url":"git://github.com/dataloom/integrations.git","ssh_url":"git@github.com:dataloom/integrations.git","clone_url":"https://github.com/dataloom/integrations.git","svn_url":"https://github.com/dataloom/integrations","homepage":null,"size":162,"stargazers_count":0,"watchers_count":0,"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":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"dataloom:master","ref":"master","sha":"9167b2cecdd7b5cf38e522f0463e9a189aec1477","user":{"login":"dataloom","id":23568223,"avatar_url":"https://avatars0.githubusercontent.com/u/23568223?v=3","gravatar_id":"","url":"https://api.github.com/users/dataloom","html_url":"https://github.com/dataloom","followers_url":"https://api.github.com/users/dataloom/followers","following_url":"https://api.github.com/users/dataloom/following{/other_user}","gists_url":"https://api.github.com/users/dataloom/gists{/gist_id}","starred_url":"https://api.github.com/users/dataloom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dataloom/subscriptions","organizations_url":"https://api.github.com/users/dataloom/orgs","repos_url":"https://api.github.com/users/dataloom/repos","events_url":"https://api.github.com/users/dataloom/events{/privacy}","received_events_url":"https://api.github.com/users/dataloom/received_events","type":"Organization","site_admin":false},"repo":{"id":79507355,"name":"integrations","full_name":"dataloom/integrations","owner":{"login":"dataloom","id":23568223,"avatar_url":"https://avatars0.githubusercontent.com/u/23568223?v=3","gravatar_id":"","url":"https://api.github.com/users/dataloom","html_url":"https://github.com/dataloom","followers_url":"https://api.github.com/users/dataloom/followers","following_url":"https://api.github.com/users/dataloom/following{/other_user}","gists_url":"https://api.github.com/users/dataloom/gists{/gist_id}","starred_url":"https://api.github.com/users/dataloom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dataloom/subscriptions","organizations_url":"https://api.github.com/users/dataloom/orgs","repos_url":"https://api.github.com/users/dataloom/repos","events_url":"https://api.github.com/users/dataloom/events{/privacy}","received_events_url":"https://api.github.com/users/dataloom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dataloom/integrations","description":"Data integrations for Loom","fork":false,"url":"https://api.github.com/repos/dataloom/integrations","forks_url":"https://api.github.com/repos/dataloom/integrations/forks","keys_url":"https://api.github.com/repos/dataloom/integrations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dataloom/integrations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dataloom/integrations/teams","hooks_url":"https://api.github.com/repos/dataloom/integrations/hooks","issue_events_url":"https://api.github.com/repos/dataloom/integrations/issues/events{/number}","events_url":"https://api.github.com/repos/dataloom/integrations/events","assignees_url":"https://api.github.com/repos/dataloom/integrations/assignees{/user}","branches_url":"https://api.github.com/repos/dataloom/integrations/branches{/branch}","tags_url":"https://api.github.com/repos/dataloom/integrations/tags","blobs_url":"https://api.github.com/repos/dataloom/integrations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dataloom/integrations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dataloom/integrations/git/refs{/sha}","trees_url":"https://api.github.com/repos/dataloom/integrations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dataloom/integrations/statuses/{sha}","languages_url":"https://api.github.com/repos/dataloom/integrations/languages","stargazers_url":"https://api.github.com/repos/dataloom/integrations/stargazers","contributors_url":"https://api.github.com/repos/dataloom/integrations/contributors","subscribers_url":"https://api.github.com/repos/dataloom/integrations/subscribers","subscription_url":"https://api.github.com/repos/dataloom/integrations/subscription","commits_url":"https://api.github.com/repos/dataloom/integrations/commits{/sha}","git_commits_url":"https://api.github.com/repos/dataloom/integrations/git/commits{/sha}","comments_url":"https://api.github.com/repos/dataloom/integrations/comments{/number}","issue_comment_url":"https://api.github.com/repos/dataloom/integrations/issues/comments{/number}","contents_url":"https://api.github.com/repos/dataloom/integrations/contents/{+path}","compare_url":"https://api.github.com/repos/dataloom/integrations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dataloom/integrations/merges","archive_url":"https://api.github.com/repos/dataloom/integrations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dataloom/integrations/downloads","issues_url":"https://api.github.com/repos/dataloom/integrations/issues{/number}","pulls_url":"https://api.github.com/repos/dataloom/integrations/pulls{/number}","milestones_url":"https://api.github.com/repos/dataloom/integrations/milestones{/number}","notifications_url":"https://api.github.com/repos/dataloom/integrations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dataloom/integrations/labels{/name}","releases_url":"https://api.github.com/repos/dataloom/integrations/releases{/id}","deployments_url":"https://api.github.com/repos/dataloom/integrations/deployments","created_at":"2017-01-19T23:58:49Z","updated_at":"2017-02-06T18:07:28Z","pushed_at":"2017-03-29T18:09:31Z","git_url":"git://github.com/dataloom/integrations.git","ssh_url":"git@github.com:dataloom/integrations.git","clone_url":"https://github.com/dataloom/integrations.git","svn_url":"https://github.com/dataloom/integrations","homepage":null,"size":162,"stargazers_count":0,"watchers_count":0,"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":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dataloom/integrations/pulls/9"},"html":{"href":"https://github.com/dataloom/integrations/pull/9"},"issue":{"href":"https://api.github.com/repos/dataloom/integrations/issues/9"},"comments":{"href":"https://api.github.com/repos/dataloom/integrations/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/dataloom/integrations/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/dataloom/integrations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dataloom/integrations/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/dataloom/integrations/statuses/d9904b416564ba79f67d1a2093cc190608f94695"}}}}
{"actor":{"display_login":"UnsungHero97"}}