I want to loop something according to time.
I.e. suppose if time right now is 12:00 AM
I want the loop to run every 1 minute till the time is 12:30 AM for
instance.
Pseudo-code below
While(Time != 12:30 AM) /// <-----
But I want this loop for run every minute
{ System.out.println("Time right now is " + time);
}
How would I code something like that in Java
?
On Sun, 2 Dec 2007 23:17:57 -0800 (PST), TheTravellingSalesman
<saad.zaman@gmail.com> wrote, quoted or indirectly quoted someone who
said :
>I want the loop to run every 1 minute till the time is 12:30 AM for
>instance.
see http://mindprod.com/jgloss/timer.html

Signature
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
TheTravellingSalesman - 03 Dec 2007 23:04 GMT
Thanks everyone for your help.
Sorry about the double post.
On Dec 3, 12:23 pm, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> On Sun, 2 Dec 2007 23:17:57 -0800 (PST), TheTravellingSalesman
> <saad.za...@gmail.com> wrote, quoted or indirectly quoted someone who
[quoted text clipped - 7 lines]
> Roedy Green Canadian Mind Products
> The Java Glossaryhttp://mindprod.com