{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/comments/72831668","id":72831668,"diff_hunk":"@@ -74,6 +74,20 @@ public static TimeSpan ValidateDuration(string value)\n             return interval;\n         }\n \n+        /// <summary>\n+        /// Returns min DateTimeOffset value if not a valid DateTimeOffset.\n+        /// </summary>\n+        public static DateTimeOffset ValidateDateTimeOffset(string value)\n+        {\n+            DateTimeOffset timestamp;\n+            if (!DateTimeOffset.TryParse(value, CultureInfo.InvariantCulture, DateTimeStyles.AssumeLocal, out timestamp))","path":"src/Core/Managed/Shared/Utils.cs","position":10,"original_position":10,"commit_id":"6875562304c82e7fccccb1ca35968f727a319028","original_commit_id":"6875562304c82e7fccccb1ca35968f727a319028","user":{"login":"abaranch","id":10120301,"avatar_url":"https://avatars.githubusercontent.com/u/10120301?v=3","gravatar_id":"","url":"https://api.github.com/users/abaranch","html_url":"https://github.com/abaranch","followers_url":"https://api.github.com/users/abaranch/followers","following_url":"https://api.github.com/users/abaranch/following{/other_user}","gists_url":"https://api.github.com/users/abaranch/gists{/gist_id}","starred_url":"https://api.github.com/users/abaranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abaranch/subscriptions","organizations_url":"https://api.github.com/users/abaranch/orgs","repos_url":"https://api.github.com/users/abaranch/repos","events_url":"https://api.github.com/users/abaranch/events{/privacy}","received_events_url":"https://api.github.com/users/abaranch/received_events","type":"User","site_admin":false},"body":">AssumeLocal [](start = 93, length = 11)\r\n\r\nWhy?","created_at":"2016-07-29T17:42:09Z","updated_at":"2016-07-29T17:42:09Z","html_url":"https://github.com/Microsoft/ApplicationInsights-dotnet/pull/266#discussion_r72831668","pull_request_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/266","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/comments/72831668"},"html":{"href":"https://github.com/Microsoft/ApplicationInsights-dotnet/pull/266#discussion_r72831668"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/266"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/266","id":79390638,"html_url":"https://github.com/Microsoft/ApplicationInsights-dotnet/pull/266","diff_url":"https://github.com/Microsoft/ApplicationInsights-dotnet/pull/266.diff","patch_url":"https://github.com/Microsoft/ApplicationInsights-dotnet/pull/266.patch","issue_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/266","number":266,"state":"open","locked":false,"title":"Add TrackAvailability to SDK","user":{"login":"ericmattingly","id":10789017,"avatar_url":"https://avatars.githubusercontent.com/u/10789017?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmattingly","html_url":"https://github.com/ericmattingly","followers_url":"https://api.github.com/users/ericmattingly/followers","following_url":"https://api.github.com/users/ericmattingly/following{/other_user}","gists_url":"https://api.github.com/users/ericmattingly/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmattingly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmattingly/subscriptions","organizations_url":"https://api.github.com/users/ericmattingly/orgs","repos_url":"https://api.github.com/users/ericmattingly/repos","events_url":"https://api.github.com/users/ericmattingly/events{/privacy}","received_events_url":"https://api.github.com/users/ericmattingly/received_events","type":"User","site_admin":false},"body":"#255 ","created_at":"2016-07-29T16:56:50Z","updated_at":"2016-07-29T17:42:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ce1cc9f7f0e789852e24b6761ba12ab8b15ab0b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/266/commits","review_comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/266/comments","review_comment_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/266/comments","statuses_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/statuses/6875562304c82e7fccccb1ca35968f727a319028","head":{"label":"ericmattingly:TrackAvailability","ref":"TrackAvailability","sha":"6875562304c82e7fccccb1ca35968f727a319028","user":{"login":"ericmattingly","id":10789017,"avatar_url":"https://avatars.githubusercontent.com/u/10789017?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmattingly","html_url":"https://github.com/ericmattingly","followers_url":"https://api.github.com/users/ericmattingly/followers","following_url":"https://api.github.com/users/ericmattingly/following{/other_user}","gists_url":"https://api.github.com/users/ericmattingly/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmattingly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmattingly/subscriptions","organizations_url":"https://api.github.com/users/ericmattingly/orgs","repos_url":"https://api.github.com/users/ericmattingly/repos","events_url":"https://api.github.com/users/ericmattingly/events{/privacy}","received_events_url":"https://api.github.com/users/ericmattingly/received_events","type":"User","site_admin":false},"repo":{"id":64237773,"name":"ApplicationInsights-dotnet","full_name":"ericmattingly/ApplicationInsights-dotnet","owner":{"login":"ericmattingly","id":10789017,"avatar_url":"https://avatars.githubusercontent.com/u/10789017?v=3","gravatar_id":"","url":"https://api.github.com/users/ericmattingly","html_url":"https://github.com/ericmattingly","followers_url":"https://api.github.com/users/ericmattingly/followers","following_url":"https://api.github.com/users/ericmattingly/following{/other_user}","gists_url":"https://api.github.com/users/ericmattingly/gists{/gist_id}","starred_url":"https://api.github.com/users/ericmattingly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericmattingly/subscriptions","organizations_url":"https://api.github.com/users/ericmattingly/orgs","repos_url":"https://api.github.com/users/ericmattingly/repos","events_url":"https://api.github.com/users/ericmattingly/events{/privacy}","received_events_url":"https://api.github.com/users/ericmattingly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericmattingly/ApplicationInsights-dotnet","description":"ApplicationInsights-dotnet","fork":true,"url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet","forks_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/forks","keys_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/teams","hooks_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/hooks","issue_events_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/issues/events{/number}","events_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/events","assignees_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/assignees{/user}","branches_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/branches{/branch}","tags_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/tags","blobs_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/statuses/{sha}","languages_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/languages","stargazers_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/stargazers","contributors_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/contributors","subscribers_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/subscribers","subscription_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/subscription","commits_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/contents/{+path}","compare_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/merges","archive_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/downloads","issues_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/issues{/number}","pulls_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/pulls{/number}","milestones_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/milestones{/number}","notifications_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/labels{/name}","releases_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/releases{/id}","deployments_url":"https://api.github.com/repos/ericmattingly/ApplicationInsights-dotnet/deployments","created_at":"2016-07-26T16:39:10Z","updated_at":"2016-07-26T16:39:12Z","pushed_at":"2016-07-29T16:53:33Z","git_url":"git://github.com/ericmattingly/ApplicationInsights-dotnet.git","ssh_url":"git@github.com:ericmattingly/ApplicationInsights-dotnet.git","clone_url":"https://github.com/ericmattingly/ApplicationInsights-dotnet.git","svn_url":"https://github.com/ericmattingly/ApplicationInsights-dotnet","homepage":null,"size":3992,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Microsoft:develop","ref":"develop","sha":"80cc1efbb5abe53509e11386b338004fb16fe643","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":37284654,"name":"ApplicationInsights-dotnet","full_name":"Microsoft/ApplicationInsights-dotnet","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/ApplicationInsights-dotnet","description":"ApplicationInsights-dotnet","fork":false,"url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet","forks_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/forks","keys_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/teams","hooks_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/events","assignees_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/tags","blobs_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/languages","stargazers_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/subscription","commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/merges","archive_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/downloads","issues_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/deployments","created_at":"2015-06-11T20:34:21Z","updated_at":"2016-07-26T08:20:42Z","pushed_at":"2016-07-29T17:33:25Z","git_url":"git://github.com/Microsoft/ApplicationInsights-dotnet.git","ssh_url":"git@github.com:Microsoft/ApplicationInsights-dotnet.git","clone_url":"https://github.com/Microsoft/ApplicationInsights-dotnet.git","svn_url":"https://github.com/Microsoft/ApplicationInsights-dotnet","homepage":null,"size":4240,"stargazers_count":62,"watchers_count":62,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":14,"forks":34,"open_issues":14,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/266"},"html":{"href":"https://github.com/Microsoft/ApplicationInsights-dotnet/pull/266"},"issue":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/266"},"comments":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/issues/266/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/266/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/pulls/266/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/ApplicationInsights-dotnet/statuses/6875562304c82e7fccccb1ca35968f727a319028"}}}}
{"actor":{"display_login":"abaranch"}}