Examples of StopCalendarDaysBean


Examples of org.onebusaway.transit_data.model.StopCalendarDaysBean

      Integer indexId = idsToGroup.get(entry.getValue());
      bean.setGroup(indexId);
      beans.add(bean);
    }

    return new StopCalendarDaysBean(timeZone.getID(), beans);
  }
View Full Code Here

Examples of org.onebusaway.transit_data.model.StopCalendarDaysBean

    ServiceDate serviceDate = new ServiceDate(date);
    List<StopRouteScheduleBean> routes = _stopScheduleBeanService.getScheduledArrivalsForStopAndDate(
        id, serviceDate);
    bean.setRoutes(routes);

    StopCalendarDaysBean calendarDays = _stopScheduleBeanService.getCalendarForStop(id);
    bean.setCalendarDays(calendarDays);

    return bean;
  }
View Full Code Here

Examples of org.onebusaway.transit_data.model.StopCalendarDaysBean

    _result = _service.getScheduleForStop(_id, _date);

    if (_result == null)
      throw new NoSuchStopServiceException(_id);

    StopCalendarDaysBean days = _result.getCalendarDays();
    String tzName = days.getTimeZone();
    _timeZone = TimeZone.getTimeZone(tzName);
    if (_timeZone == null)
      _timeZone = TimeZone.getDefault();

    filterResults();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.