Announcement Announcement Module
Collapse
No announcement yet.
Showing the list by incrementing 30minutes Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Showing the list by incrementing 30minutes

    Hi!
    I am using the following arraylist:-

    ArrayList timeList = new ArrayList();
    double j= 0.30;
    double a=7.00;
    for(int i=1;i<=10;i++){
    a+=j;
    timeList.add(a);
    }
    System.out.println("timeList:-"+timeList);

    but i want to get the values in the list : like 7:30,8:00,8:30,9:00 n so on...

    Pls tell me how do that....
Working...
X