{"action":"opened","issue":{"url":"https://api.github.com/repos/whyceewhite/CarLess/issues/79","labels_url":"https://api.github.com/repos/whyceewhite/CarLess/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/whyceewhite/CarLess/issues/79/comments","events_url":"https://api.github.com/repos/whyceewhite/CarLess/issues/79/events","html_url":"https://github.com/whyceewhite/CarLess/issues/79","id":112167027,"number":79,"title":"Use Date comparable methods instead of extension methods","user":{"login":"whyceewhite","id":2636510,"avatar_url":"https://avatars.githubusercontent.com/u/2636510?v=3","gravatar_id":"","url":"https://api.github.com/users/whyceewhite","html_url":"https://github.com/whyceewhite","followers_url":"https://api.github.com/users/whyceewhite/followers","following_url":"https://api.github.com/users/whyceewhite/following{/other_user}","gists_url":"https://api.github.com/users/whyceewhite/gists{/gist_id}","starred_url":"https://api.github.com/users/whyceewhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyceewhite/subscriptions","organizations_url":"https://api.github.com/users/whyceewhite/orgs","repos_url":"https://api.github.com/users/whyceewhite/repos","events_url":"https://api.github.com/users/whyceewhite/events{/privacy}","received_events_url":"https://api.github.com/users/whyceewhite/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/whyceewhite/CarLess/labels/refactor","name":"refactor","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-19T15:16:37Z","updated_at":"2015-10-19T15:16:37Z","closed_at":null,"body":"The `Date` extension's `isOnOrAfter` etc methods are duplicates of `Date`'s methods:\r\n\r\n     public func earlierDate(anotherDate: NSDate) -> NSDate\r\n     public func laterDate(anotherDate: NSDate) -> NSDate\r\n     public func compare(other: NSDate) -> NSComparisonResult\r\n     public func isEqualToDate(otherDate: NSDate) -> Bool\r\n\r\nThis may be the result of swift 2.1 language updates. Refactor calls to the extension's method so that the base `Date` methods are used instead."}}