{"action":"created","issue":{"url":"https://api.github.com/repos/MehdiK/Humanizer/issues/444","labels_url":"https://api.github.com/repos/MehdiK/Humanizer/issues/444/labels{/name}","comments_url":"https://api.github.com/repos/MehdiK/Humanizer/issues/444/comments","events_url":"https://api.github.com/repos/MehdiK/Humanizer/issues/444/events","html_url":"https://github.com/MehdiK/Humanizer/issues/444","id":94142326,"number":444,"title":"Would adding tense to DateTime.At make sense","user":{"login":"MisinformedDNA","id":1784452,"avatar_url":"https://avatars.githubusercontent.com/u/1784452?v=3","gravatar_id":"","url":"https://api.github.com/users/MisinformedDNA","html_url":"https://github.com/MisinformedDNA","followers_url":"https://api.github.com/users/MisinformedDNA/followers","following_url":"https://api.github.com/users/MisinformedDNA/following{/other_user}","gists_url":"https://api.github.com/users/MisinformedDNA/gists{/gist_id}","starred_url":"https://api.github.com/users/MisinformedDNA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MisinformedDNA/subscriptions","organizations_url":"https://api.github.com/users/MisinformedDNA/orgs","repos_url":"https://api.github.com/users/MisinformedDNA/repos","events_url":"https://api.github.com/users/MisinformedDNA/events{/privacy}","received_events_url":"https://api.github.com/users/MisinformedDNA/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-09T20:13:15Z","updated_at":"2015-07-10T21:15:26Z","closed_at":null,"body":"I needed to make sure that all my dates were in the future, decided to do the past as well. Would something like this be worth adding to this library?\r\n\r\n```csharp\r\n        public static DateTime At(this DateTime date, int hour, int min = 0, int second = 0, int millisecond = 0, Tense tense = Tense.Today)\r\n        {\r\n            var determinedDate = Humanizer.PrepositionsExtensions.At(date, hour, min, second, millisecond);\r\n            \r\n            switch (tense)\r\n            {\r\n                case Tense.Today:\r\n                    return determinedDate;\r\n                case Tense.Future:\r\n                    return determinedDate < date ? determinedDate.AddDays(1) : determinedDate;\r\n                case Tense.Past:\r\n                    return determinedDate > date ? determinedDate.AddDays(-1) : determinedDate;\r\n            }\r\n\r\n            throw new ArgumentOutOfRangeException(\"tense\");\r\n        }\r\n    }\r\n\r\n    public enum Tense\r\n    {\r\n        Today,\r\n        Future,\r\n        Past\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/MehdiK/Humanizer/issues/comments/120531402","html_url":"https://github.com/MehdiK/Humanizer/issues/444#issuecomment-120531402","issue_url":"https://api.github.com/repos/MehdiK/Humanizer/issues/444","id":120531402,"user":{"login":"MehdiK","id":1029804,"avatar_url":"https://avatars.githubusercontent.com/u/1029804?v=3","gravatar_id":"","url":"https://api.github.com/users/MehdiK","html_url":"https://github.com/MehdiK","followers_url":"https://api.github.com/users/MehdiK/followers","following_url":"https://api.github.com/users/MehdiK/following{/other_user}","gists_url":"https://api.github.com/users/MehdiK/gists{/gist_id}","starred_url":"https://api.github.com/users/MehdiK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MehdiK/subscriptions","organizations_url":"https://api.github.com/users/MehdiK/orgs","repos_url":"https://api.github.com/users/MehdiK/repos","events_url":"https://api.github.com/users/MehdiK/events{/privacy}","received_events_url":"https://api.github.com/users/MehdiK/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T21:15:26Z","updated_at":"2015-07-10T21:15:26Z","body":"Thanks for the suggestion. I'm not quite sure I understand the usage though? Why do you add or remove a day based on tense? How would you use this method?"}}