public timeInfo(int route, int stop)
  {
    database.openBusDatabase();
    Calendar cal = Calendar.getInstance();
    route_id = route;
    bus_stop = stop;
    timing_point += cal.get(Calendar.HOUR_OF_DAY) * 60;
    timing_point += cal.get(Calendar.MINUTE);
    startDate = (Calendar)cal.clone();
    if(startDate.get(Calendar.DAY_OF_WEEK) > 1 && startDate.get(Calendar.DAY_OF_WEEK) < 7)
        day_of_week = 0;
    else if(startDate.get(Calendar.DAY_OF_WEEK) == 7)
        day_of_week = 1;
    else
        day_of_week = 2;
    
  }