android - How to restrict user to select current or previous time for Today and select any time for past dates in time picker dialog -


as have written in title wanna restrict user select current or past time today , can pick time past dates . please tell me how in android. have added restriction date picker using setmaxdate(); method unable same in time picker please tell me how should this.

try

setmaxdate(system.currenttimemillis()); 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -