{"action":"created","issue":{"url":"https://api.github.com/repos/malcommac/SwiftDate/issues/14","labels_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/14/comments","events_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/14/events","html_url":"https://github.com/malcommac/SwiftDate/issues/14","id":87948082,"number":14,"title":"Day of Week Manipulations","user":{"login":"simonrice","id":548577,"avatar_url":"https://avatars.githubusercontent.com/u/548577?v=3","gravatar_id":"","url":"https://api.github.com/users/simonrice","html_url":"https://github.com/simonrice","followers_url":"https://api.github.com/users/simonrice/followers","following_url":"https://api.github.com/users/simonrice/following{/other_user}","gists_url":"https://api.github.com/users/simonrice/gists{/gist_id}","starred_url":"https://api.github.com/users/simonrice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonrice/subscriptions","organizations_url":"https://api.github.com/users/simonrice/orgs","repos_url":"https://api.github.com/users/simonrice/repos","events_url":"https://api.github.com/users/simonrice/events{/privacy}","received_events_url":"https://api.github.com/users/simonrice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-13T06:45:07Z","updated_at":"2015-06-19T07:10:41Z","closed_at":null,"body":"First of all, thank you for the quality library!  My date manipulations in Swift not only look more pleasant to read, but they even sound better when reading them to my workmates!\r\n\r\nThis is just a small addition suggestion - one feature I've had to extend on my own is getting at the beginning and end of the week, based on the current calendar's start of week.  I did this in my own codebase by making a public/internal property-based version of `firstWeekDate()` in an extension of `NSDate`.  I know there is `firstDayOfWeek` & `lastDayOfWeek`, but the start/end of the week may not be in the same month (or year!).  You could take this suggestion further by adding a function that returns the next / previous occurring day of the week - e.g., `next(.Monday)` or `last(.Tuesday)`."},"comment":{"url":"https://api.github.com/repos/malcommac/SwiftDate/issues/comments/113403700","html_url":"https://github.com/malcommac/SwiftDate/issues/14#issuecomment-113403700","issue_url":"https://api.github.com/repos/malcommac/SwiftDate/issues/14","id":113403700,"user":{"login":"simonrice","id":548577,"avatar_url":"https://avatars.githubusercontent.com/u/548577?v=3","gravatar_id":"","url":"https://api.github.com/users/simonrice","html_url":"https://github.com/simonrice","followers_url":"https://api.github.com/users/simonrice/followers","following_url":"https://api.github.com/users/simonrice/following{/other_user}","gists_url":"https://api.github.com/users/simonrice/gists{/gist_id}","starred_url":"https://api.github.com/users/simonrice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonrice/subscriptions","organizations_url":"https://api.github.com/users/simonrice/orgs","repos_url":"https://api.github.com/users/simonrice/repos","events_url":"https://api.github.com/users/simonrice/events{/privacy}","received_events_url":"https://api.github.com/users/simonrice/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T07:10:41Z","updated_at":"2015-06-19T07:10:41Z","body":"I know that feeling very well - most of my contributions are in my spare time (or in silly hours)!\r\n\r\nI'll see what I can do within the next 2 weeks - I'd be more than happy to chip in with a Swift project*.\r\n\r\n* Besides deleting .DS_Store files ;)"}}