How to set time 11:00 PM using Date or GregorianCalendar
Joined: Dec 22, 2002
I use Timer to set up TimerTask. it will start at a speificed time, for example 11:00 PM everyday. Could you tell me how to set time 11:00 PM using Date or GregorianCalendar. Looks like no method set(hour, miunte,second) in these Class. Thank you for your help!
Joined: Jul 06, 2005
Calendar has a generic set method for any field you like. ie
[ February 15, 2006: Message edited by: Stefan Evans ]