Class AgencyServiceImpl

    • Constructor Detail

      • AgencyServiceImpl

        public AgencyServiceImpl()
    • Method Detail

      • getTimeZoneForAgencyId

        public TimeZone getTimeZoneForAgencyId​(String agencyId)
        Description copied from interface: AgencyService
        See Agency.getTimezone().
        Specified by:
        getTimeZoneForAgencyId in interface AgencyService
        Parameters:
        agencyId - the id of the target agency
        Returns:
        the instantiated timezone object for the specified agencyId
      • getAgencyIdsAndCenterPoints

        public Map<String,​CoordinatePoint> getAgencyIdsAndCenterPoints()
        Description copied from interface: AgencyService
        For each agency in a transit bundle, computes the center point of all the stops operated by that agency.
        Specified by:
        getAgencyIdsAndCenterPoints in interface AgencyService
        Returns:
        the center point of all stops operated by each agency, keyed by agency id
      • getAgencyIdsAndCoverageAreas

        public Map<String,​CoordinateBounds> getAgencyIdsAndCoverageAreas()
        Description copied from interface: AgencyService
        For each agency in a transit bundle, computes the coordinate bounds of all the stops operated by that agency.
        Specified by:
        getAgencyIdsAndCoverageAreas in interface AgencyService
        Returns:
        the coordinate bounds of all stops operated by each agency, keyed by agency id