{"action":"closed","issue":{"url":"https://api.github.com/repos/malcommac/SwiftDate/issues/45","labels_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/45/comments","events_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/45/events","html_url":"https://github.com/malcommac/SwiftDate/issues/45","id":109672634,"number":45,"title":"startOf and endOF func","user":{"login":"Hout","id":641321,"avatar_url":"https://avatars.githubusercontent.com/u/641321?v=3","gravatar_id":"","url":"https://api.github.com/users/Hout","html_url":"https://github.com/Hout","followers_url":"https://api.github.com/users/Hout/followers","following_url":"https://api.github.com/users/Hout/following{/other_user}","gists_url":"https://api.github.com/users/Hout/gists{/gist_id}","starred_url":"https://api.github.com/users/Hout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hout/subscriptions","organizations_url":"https://api.github.com/users/Hout/orgs","repos_url":"https://api.github.com/users/Hout/repos","events_url":"https://api.github.com/users/Hout/events{/privacy}","received_events_url":"https://api.github.com/users/Hout/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-04T10:06:55Z","updated_at":"2015-10-04T11:31:18Z","closed_at":"2015-10-04T11:31:18Z","body":"Hi,\r\n\r\nPlaying with the idea to use an NSCalendarUnit hare as in:\r\n````\r\nlet date = oldDate.endOf(.Day)\r\n````\r\nWhat do you think?"}}