{"action":"created","issue":{"url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8732","repository_url":"https://api.github.com/repos/TEAMMATES/teammates","labels_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8732/labels{/name}","comments_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8732/comments","events_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8732/events","html_url":"https://github.com/TEAMMATES/teammates/pull/8732","id":309752737,"number":8732,"title":"Migrate remaining classes to use java.time #8731","user":{"login":"tran-tien-dat","id":8559368,"avatar_url":"https://avatars3.githubusercontent.com/u/8559368?v=4","gravatar_id":"","url":"https://api.github.com/users/tran-tien-dat","html_url":"https://github.com/tran-tien-dat","followers_url":"https://api.github.com/users/tran-tien-dat/followers","following_url":"https://api.github.com/users/tran-tien-dat/following{/other_user}","gists_url":"https://api.github.com/users/tran-tien-dat/gists{/gist_id}","starred_url":"https://api.github.com/users/tran-tien-dat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tran-tien-dat/subscriptions","organizations_url":"https://api.github.com/users/tran-tien-dat/orgs","repos_url":"https://api.github.com/users/tran-tien-dat/repos","events_url":"https://api.github.com/users/tran-tien-dat/events{/privacy}","received_events_url":"https://api.github.com/users/tran-tien-dat/received_events","type":"User","site_admin":false},"labels":[{"id":98049507,"url":"https://api.github.com/repos/TEAMMATES/teammates/labels/s.Ongoing","name":"s.Ongoing","color":"6BC471","default":false}],"state":"open","locked":false,"assignee":{"login":"whipermr5","id":6811428,"avatar_url":"https://avatars0.githubusercontent.com/u/6811428?v=4","gravatar_id":"","url":"https://api.github.com/users/whipermr5","html_url":"https://github.com/whipermr5","followers_url":"https://api.github.com/users/whipermr5/followers","following_url":"https://api.github.com/users/whipermr5/following{/other_user}","gists_url":"https://api.github.com/users/whipermr5/gists{/gist_id}","starred_url":"https://api.github.com/users/whipermr5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whipermr5/subscriptions","organizations_url":"https://api.github.com/users/whipermr5/orgs","repos_url":"https://api.github.com/users/whipermr5/repos","events_url":"https://api.github.com/users/whipermr5/events{/privacy}","received_events_url":"https://api.github.com/users/whipermr5/received_events","type":"User","site_admin":false},"assignees":[{"login":"whipermr5","id":6811428,"avatar_url":"https://avatars0.githubusercontent.com/u/6811428?v=4","gravatar_id":"","url":"https://api.github.com/users/whipermr5","html_url":"https://github.com/whipermr5","followers_url":"https://api.github.com/users/whipermr5/followers","following_url":"https://api.github.com/users/whipermr5/following{/other_user}","gists_url":"https://api.github.com/users/whipermr5/gists{/gist_id}","starred_url":"https://api.github.com/users/whipermr5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whipermr5/subscriptions","organizations_url":"https://api.github.com/users/whipermr5/orgs","repos_url":"https://api.github.com/users/whipermr5/repos","events_url":"https://api.github.com/users/whipermr5/events{/privacy}","received_events_url":"https://api.github.com/users/whipermr5/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-03-29T13:23:05Z","updated_at":"2018-04-11T08:46:20Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/8732","html_url":"https://github.com/TEAMMATES/teammates/pull/8732","diff_url":"https://github.com/TEAMMATES/teammates/pull/8732.diff","patch_url":"https://github.com/TEAMMATES/teammates/pull/8732.patch"},"body":"Fixes #8731\r\n\r\nMigrate all instances of `java.util.Date`, `java.util.Calendar`, `java.util.TimeZone` except for in the Entity classes, which need to use `java.util.Date` for compatibility with Objectify.\r\n\r\nDepends on #8736 \r\n\r\nTo do:\r\n\r\n- [x] Migrate `JsonUtils` - have to check whether we need to (de)serialize `java.util.Date`\r\n- [x] Remove deprecated methods in `TimeHelper`\r\n- [x] Migrate `TimeHelperTest`\r\n\r\nTo do in the future:\r\n- Migrate legacy data\r\n- Migrate to Objectify 6 so that the Entity classes can use `java.time.Instant` as well."},"comment":{"url":"https://api.github.com/repos/TEAMMATES/teammates/issues/comments/380376048","html_url":"https://github.com/TEAMMATES/teammates/pull/8732#issuecomment-380376048","issue_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8732","id":380376048,"user":{"login":"tran-tien-dat","id":8559368,"avatar_url":"https://avatars3.githubusercontent.com/u/8559368?v=4","gravatar_id":"","url":"https://api.github.com/users/tran-tien-dat","html_url":"https://github.com/tran-tien-dat","followers_url":"https://api.github.com/users/tran-tien-dat/followers","following_url":"https://api.github.com/users/tran-tien-dat/following{/other_user}","gists_url":"https://api.github.com/users/tran-tien-dat/gists{/gist_id}","starred_url":"https://api.github.com/users/tran-tien-dat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tran-tien-dat/subscriptions","organizations_url":"https://api.github.com/users/tran-tien-dat/orgs","repos_url":"https://api.github.com/users/tran-tien-dat/repos","events_url":"https://api.github.com/users/tran-tien-dat/events{/privacy}","received_events_url":"https://api.github.com/users/tran-tien-dat/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T08:46:20Z","updated_at":"2018-04-11T08:46:20Z","author_association":"CONTRIBUTOR","body":"Ready for review"}}
{"actor":{"display_login":"tran-tien-dat"}}