Package org.onebusaway.transit_data_federation.services.service_alerts.ServiceAlerts.TimeRange

Examples of org.onebusaway.transit_data_federation.services.service_alerts.ServiceAlerts.TimeRange.Builder


    assertTrue(!alerts.contains(serviceAlert3));
    assertTrue(alerts.contains(serviceAlert4));
  }

  private TimeRange createTimeRange(long start, long end) {
    Builder timeRangeBuilder = TimeRange.newBuilder();
    if (start != 0)
      timeRangeBuilder.setStart(start);
    if (end != 0)
      timeRangeBuilder.setEnd(end);
    TimeRange timeRange = timeRangeBuilder.build();
    return timeRange;
  }
View Full Code Here

TOP

Related Classes of org.onebusaway.transit_data_federation.services.service_alerts.ServiceAlerts.TimeRange.Builder

Copyright © 2018 www.massapicom. 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.