{"action":"created","comment":{"url":"https://api.github.com/repos/scala-js/scala-js/pulls/comments/48179894","id":48179894,"diff_hunk":"@@ -31,9 +32,12 @@ final class LocalDate private (year: Int, month: Month, dayOfMonth: Int)\n       MathJDK8Bridge.floorDiv(year1, 400).toLong * daysInFourHundredYears\n     offset + daysBeforeYear + dayOfYear - 1\n   }\n+\n   private lazy val dayOfWeek =\n     MathJDK8Bridge.floorMod(epochDay + 3, 7).toInt + 1\n \n+  private lazy val prolepticMonth = year.toLong * 12 + getMonthValue - 1","path":"javalib/src/main/scala/java/time/LocalDate.scala","position":null,"original_position":16,"commit_id":"d517767a8ce3892f2c604119aa9803c1848c602d","original_commit_id":"b8c95120e7d4a02c9bde0e4f49261e2bd2852dfe","user":{"login":"ummels","id":287491,"avatar_url":"https://avatars.githubusercontent.com/u/287491?v=3","gravatar_id":"","url":"https://api.github.com/users/ummels","html_url":"https://github.com/ummels","followers_url":"https://api.github.com/users/ummels/followers","following_url":"https://api.github.com/users/ummels/following{/other_user}","gists_url":"https://api.github.com/users/ummels/gists{/gist_id}","starred_url":"https://api.github.com/users/ummels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ummels/subscriptions","organizations_url":"https://api.github.com/users/ummels/orgs","repos_url":"https://api.github.com/users/ummels/repos","events_url":"https://api.github.com/users/ummels/events{/privacy}","received_events_url":"https://api.github.com/users/ummels/received_events","type":"User","site_admin":false},"body":"Yeah, I guess we can make it a `def` since only a few methods rely on it.","created_at":"2015-12-21T19:19:18Z","updated_at":"2015-12-21T19:19:18Z","html_url":"https://github.com/scala-js/scala-js/pull/2123#discussion_r48179894","pull_request_url":"https://api.github.com/repos/scala-js/scala-js/pulls/2123","_links":{"self":{"href":"https://api.github.com/repos/scala-js/scala-js/pulls/comments/48179894"},"html":{"href":"https://github.com/scala-js/scala-js/pull/2123#discussion_r48179894"},"pull_request":{"href":"https://api.github.com/repos/scala-js/scala-js/pulls/2123"}}},"pull_request":{"url":"https://api.github.com/repos/scala-js/scala-js/pulls/2123","id":54143107,"html_url":"https://github.com/scala-js/scala-js/pull/2123","diff_url":"https://github.com/scala-js/scala-js/pull/2123.diff","patch_url":"https://github.com/scala-js/scala-js/pull/2123.patch","issue_url":"https://api.github.com/repos/scala-js/scala-js/issues/2123","number":2123,"state":"open","locked":false,"title":"Fix #2109: LocalDate.until sometimes returns wrong result","user":{"login":"ummels","id":287491,"avatar_url":"https://avatars.githubusercontent.com/u/287491?v=3","gravatar_id":"","url":"https://api.github.com/users/ummels","html_url":"https://github.com/ummels","followers_url":"https://api.github.com/users/ummels/followers","following_url":"https://api.github.com/users/ummels/following{/other_user}","gists_url":"https://api.github.com/users/ummels/gists{/gist_id}","starred_url":"https://api.github.com/users/ummels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ummels/subscriptions","organizations_url":"https://api.github.com/users/ummels/orgs","repos_url":"https://api.github.com/users/ummels/repos","events_url":"https://api.github.com/users/ummels/events{/privacy}","received_events_url":"https://api.github.com/users/ummels/received_events","type":"User","site_admin":false},"body":"Also add private lazy val for proleptic month.","created_at":"2015-12-18T19:56:11Z","updated_at":"2015-12-21T19:19:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"687bc966f6e560c88753050117defc975ae19a9c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scala-js/scala-js/pulls/2123/commits","review_comments_url":"https://api.github.com/repos/scala-js/scala-js/pulls/2123/comments","review_comment_url":"https://api.github.com/repos/scala-js/scala-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scala-js/scala-js/issues/2123/comments","statuses_url":"https://api.github.com/repos/scala-js/scala-js/statuses/d517767a8ce3892f2c604119aa9803c1848c602d","head":{"label":"ummels:fix-local-date-until","ref":"fix-local-date-until","sha":"d517767a8ce3892f2c604119aa9803c1848c602d","user":{"login":"ummels","id":287491,"avatar_url":"https://avatars.githubusercontent.com/u/287491?v=3","gravatar_id":"","url":"https://api.github.com/users/ummels","html_url":"https://github.com/ummels","followers_url":"https://api.github.com/users/ummels/followers","following_url":"https://api.github.com/users/ummels/following{/other_user}","gists_url":"https://api.github.com/users/ummels/gists{/gist_id}","starred_url":"https://api.github.com/users/ummels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ummels/subscriptions","organizations_url":"https://api.github.com/users/ummels/orgs","repos_url":"https://api.github.com/users/ummels/repos","events_url":"https://api.github.com/users/ummels/events{/privacy}","received_events_url":"https://api.github.com/users/ummels/received_events","type":"User","site_admin":false},"repo":{"id":40553788,"name":"scala-js","full_name":"ummels/scala-js","owner":{"login":"ummels","id":287491,"avatar_url":"https://avatars.githubusercontent.com/u/287491?v=3","gravatar_id":"","url":"https://api.github.com/users/ummels","html_url":"https://github.com/ummels","followers_url":"https://api.github.com/users/ummels/followers","following_url":"https://api.github.com/users/ummels/following{/other_user}","gists_url":"https://api.github.com/users/ummels/gists{/gist_id}","starred_url":"https://api.github.com/users/ummels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ummels/subscriptions","organizations_url":"https://api.github.com/users/ummels/orgs","repos_url":"https://api.github.com/users/ummels/repos","events_url":"https://api.github.com/users/ummels/events{/privacy}","received_events_url":"https://api.github.com/users/ummels/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ummels/scala-js","description":"Scala.js, the Scala to JavaScript compiler","fork":true,"url":"https://api.github.com/repos/ummels/scala-js","forks_url":"https://api.github.com/repos/ummels/scala-js/forks","keys_url":"https://api.github.com/repos/ummels/scala-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ummels/scala-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ummels/scala-js/teams","hooks_url":"https://api.github.com/repos/ummels/scala-js/hooks","issue_events_url":"https://api.github.com/repos/ummels/scala-js/issues/events{/number}","events_url":"https://api.github.com/repos/ummels/scala-js/events","assignees_url":"https://api.github.com/repos/ummels/scala-js/assignees{/user}","branches_url":"https://api.github.com/repos/ummels/scala-js/branches{/branch}","tags_url":"https://api.github.com/repos/ummels/scala-js/tags","blobs_url":"https://api.github.com/repos/ummels/scala-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ummels/scala-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ummels/scala-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/ummels/scala-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ummels/scala-js/statuses/{sha}","languages_url":"https://api.github.com/repos/ummels/scala-js/languages","stargazers_url":"https://api.github.com/repos/ummels/scala-js/stargazers","contributors_url":"https://api.github.com/repos/ummels/scala-js/contributors","subscribers_url":"https://api.github.com/repos/ummels/scala-js/subscribers","subscription_url":"https://api.github.com/repos/ummels/scala-js/subscription","commits_url":"https://api.github.com/repos/ummels/scala-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/ummels/scala-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/ummels/scala-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/ummels/scala-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/ummels/scala-js/contents/{+path}","compare_url":"https://api.github.com/repos/ummels/scala-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ummels/scala-js/merges","archive_url":"https://api.github.com/repos/ummels/scala-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ummels/scala-js/downloads","issues_url":"https://api.github.com/repos/ummels/scala-js/issues{/number}","pulls_url":"https://api.github.com/repos/ummels/scala-js/pulls{/number}","milestones_url":"https://api.github.com/repos/ummels/scala-js/milestones{/number}","notifications_url":"https://api.github.com/repos/ummels/scala-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ummels/scala-js/labels{/name}","releases_url":"https://api.github.com/repos/ummels/scala-js/releases{/id}","created_at":"2015-08-11T16:50:35Z","updated_at":"2015-08-11T16:50:38Z","pushed_at":"2015-12-21T19:16:16Z","git_url":"git://github.com/ummels/scala-js.git","ssh_url":"git@github.com:ummels/scala-js.git","clone_url":"https://github.com/ummels/scala-js.git","svn_url":"https://github.com/ummels/scala-js","homepage":"http://www.scala-js.org/","size":10207,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"scala-js:master","ref":"master","sha":"8df3662682ed71e2e6afb90e41135f52e9e8b98d","user":{"login":"scala-js","id":6039724,"avatar_url":"https://avatars.githubusercontent.com/u/6039724?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-js","html_url":"https://github.com/scala-js","followers_url":"https://api.github.com/users/scala-js/followers","following_url":"https://api.github.com/users/scala-js/following{/other_user}","gists_url":"https://api.github.com/users/scala-js/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-js/subscriptions","organizations_url":"https://api.github.com/users/scala-js/orgs","repos_url":"https://api.github.com/users/scala-js/repos","events_url":"https://api.github.com/users/scala-js/events{/privacy}","received_events_url":"https://api.github.com/users/scala-js/received_events","type":"Organization","site_admin":false},"repo":{"id":8272315,"name":"scala-js","full_name":"scala-js/scala-js","owner":{"login":"scala-js","id":6039724,"avatar_url":"https://avatars.githubusercontent.com/u/6039724?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-js","html_url":"https://github.com/scala-js","followers_url":"https://api.github.com/users/scala-js/followers","following_url":"https://api.github.com/users/scala-js/following{/other_user}","gists_url":"https://api.github.com/users/scala-js/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-js/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-js/subscriptions","organizations_url":"https://api.github.com/users/scala-js/orgs","repos_url":"https://api.github.com/users/scala-js/repos","events_url":"https://api.github.com/users/scala-js/events{/privacy}","received_events_url":"https://api.github.com/users/scala-js/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scala-js/scala-js","description":"Scala.js, the Scala to JavaScript compiler","fork":false,"url":"https://api.github.com/repos/scala-js/scala-js","forks_url":"https://api.github.com/repos/scala-js/scala-js/forks","keys_url":"https://api.github.com/repos/scala-js/scala-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scala-js/scala-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scala-js/scala-js/teams","hooks_url":"https://api.github.com/repos/scala-js/scala-js/hooks","issue_events_url":"https://api.github.com/repos/scala-js/scala-js/issues/events{/number}","events_url":"https://api.github.com/repos/scala-js/scala-js/events","assignees_url":"https://api.github.com/repos/scala-js/scala-js/assignees{/user}","branches_url":"https://api.github.com/repos/scala-js/scala-js/branches{/branch}","tags_url":"https://api.github.com/repos/scala-js/scala-js/tags","blobs_url":"https://api.github.com/repos/scala-js/scala-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scala-js/scala-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scala-js/scala-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/scala-js/scala-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scala-js/scala-js/statuses/{sha}","languages_url":"https://api.github.com/repos/scala-js/scala-js/languages","stargazers_url":"https://api.github.com/repos/scala-js/scala-js/stargazers","contributors_url":"https://api.github.com/repos/scala-js/scala-js/contributors","subscribers_url":"https://api.github.com/repos/scala-js/scala-js/subscribers","subscription_url":"https://api.github.com/repos/scala-js/scala-js/subscription","commits_url":"https://api.github.com/repos/scala-js/scala-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/scala-js/scala-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/scala-js/scala-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/scala-js/scala-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/scala-js/scala-js/contents/{+path}","compare_url":"https://api.github.com/repos/scala-js/scala-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scala-js/scala-js/merges","archive_url":"https://api.github.com/repos/scala-js/scala-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scala-js/scala-js/downloads","issues_url":"https://api.github.com/repos/scala-js/scala-js/issues{/number}","pulls_url":"https://api.github.com/repos/scala-js/scala-js/pulls{/number}","milestones_url":"https://api.github.com/repos/scala-js/scala-js/milestones{/number}","notifications_url":"https://api.github.com/repos/scala-js/scala-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scala-js/scala-js/labels{/name}","releases_url":"https://api.github.com/repos/scala-js/scala-js/releases{/id}","created_at":"2013-02-18T16:33:55Z","updated_at":"2015-12-21T10:58:09Z","pushed_at":"2015-12-21T19:16:16Z","git_url":"git://github.com/scala-js/scala-js.git","ssh_url":"git@github.com:scala-js/scala-js.git","clone_url":"https://github.com/scala-js/scala-js.git","svn_url":"https://github.com/scala-js/scala-js","homepage":"http://www.scala-js.org/","size":11926,"stargazers_count":2036,"watchers_count":2036,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":186,"mirror_url":null,"open_issues_count":101,"forks":186,"open_issues":101,"watchers":2036,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scala-js/scala-js/pulls/2123"},"html":{"href":"https://github.com/scala-js/scala-js/pull/2123"},"issue":{"href":"https://api.github.com/repos/scala-js/scala-js/issues/2123"},"comments":{"href":"https://api.github.com/repos/scala-js/scala-js/issues/2123/comments"},"review_comments":{"href":"https://api.github.com/repos/scala-js/scala-js/pulls/2123/comments"},"review_comment":{"href":"https://api.github.com/repos/scala-js/scala-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scala-js/scala-js/pulls/2123/commits"},"statuses":{"href":"https://api.github.com/repos/scala-js/scala-js/statuses/d517767a8ce3892f2c604119aa9803c1848c602d"}}}}