{"action":"created","issue":{"url":"https://api.github.com/repos/wdullaer/MaterialDateTimePicker/issues/292","repository_url":"https://api.github.com/repos/wdullaer/MaterialDateTimePicker","labels_url":"https://api.github.com/repos/wdullaer/MaterialDateTimePicker/issues/292/labels{/name}","comments_url":"https://api.github.com/repos/wdullaer/MaterialDateTimePicker/issues/292/comments","events_url":"https://api.github.com/repos/wdullaer/MaterialDateTimePicker/issues/292/events","html_url":"https://github.com/wdullaer/MaterialDateTimePicker/issues/292","id":197971482,"number":292,"title":"how to get selected date?","user":{"login":"pro100svitlo","id":12133914,"avatar_url":"https://avatars.githubusercontent.com/u/12133914?v=3","gravatar_id":"","url":"https://api.github.com/users/pro100svitlo","html_url":"https://github.com/pro100svitlo","followers_url":"https://api.github.com/users/pro100svitlo/followers","following_url":"https://api.github.com/users/pro100svitlo/following{/other_user}","gists_url":"https://api.github.com/users/pro100svitlo/gists{/gist_id}","starred_url":"https://api.github.com/users/pro100svitlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pro100svitlo/subscriptions","organizations_url":"https://api.github.com/users/pro100svitlo/orgs","repos_url":"https://api.github.com/users/pro100svitlo/repos","events_url":"https://api.github.com/users/pro100svitlo/events{/privacy}","received_events_url":"https://api.github.com/users/pro100svitlo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-29T08:28:43Z","updated_at":"2016-12-29T11:52:12Z","closed_at":null,"body":"Hi!\r\n\r\ni need some method like:\r\n\r\n`mDatePiker.getCurrentDate()`\r\n\r\nthat will return calendar with current (selected) date without opening dialog.\r\nI was trying to make own datePiker dialog that extend your's one, but I can't get mCalendar from DatePickerDialog ... \r\nI think this can be useful for lot of people ;-)\r\n\r\nalso i have one more proposal: add compareDate function.\r\nfor example\r\n   \r\n```\r\n/**\r\n* true if newDate before endDate\r\n*/\r\n```\r\n```\r\nfun compareDate(newDate: Calendar?):Boolean{\r\n            if (newDate != null ){\r\n                var star = newDate.timeInMillis\r\n                var end = mCalendar.timeInMillis\r\n                if (end > star){\r\n                    return true\r\n                }\r\n            }\r\n            return false\r\n        }\r\n```\r\n\r\nso will be glad to see this functions in new release )\r\nplease let me know if you will add tham\r\n"},"comment":{"url":"https://api.github.com/repos/wdullaer/MaterialDateTimePicker/issues/comments/269619808","html_url":"https://github.com/wdullaer/MaterialDateTimePicker/issues/292#issuecomment-269619808","issue_url":"https://api.github.com/repos/wdullaer/MaterialDateTimePicker/issues/292","id":269619808,"user":{"login":"pro100svitlo","id":12133914,"avatar_url":"https://avatars.githubusercontent.com/u/12133914?v=3","gravatar_id":"","url":"https://api.github.com/users/pro100svitlo","html_url":"https://github.com/pro100svitlo","followers_url":"https://api.github.com/users/pro100svitlo/followers","following_url":"https://api.github.com/users/pro100svitlo/following{/other_user}","gists_url":"https://api.github.com/users/pro100svitlo/gists{/gist_id}","starred_url":"https://api.github.com/users/pro100svitlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pro100svitlo/subscriptions","organizations_url":"https://api.github.com/users/pro100svitlo/orgs","repos_url":"https://api.github.com/users/pro100svitlo/repos","events_url":"https://api.github.com/users/pro100svitlo/events{/privacy}","received_events_url":"https://api.github.com/users/pro100svitlo/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T11:52:12Z","updated_at":"2016-12-29T11:52:12Z","body":"thanks for reply!\r\nok, maybe you are right...\r\n\r\none more question: what about change current date programmatically without recreating dialog?\r\nfor example startDate was changed by user, and after that i need to change endDate before dialog will be open?"}}
{"actor":{"display_login":"pro100svitlo"}}