Package org.fao.geonet.repository.statistic

Examples of org.fao.geonet.repository.statistic.DateInterval


    }

    public Element buildQuery(SearchRequestRepository requestRepository, String service, ISODate dateFrom,
                                                       ISODate dateTo, String graphicType) {

        DateInterval dateInterval = this.queryFragments.get(graphicType);
        final List<Pair<DateInterval, Integer>> requestDateToRequestCountBetween = requestRepository
                .getRequestDateToRequestCountBetween(dateInterval, dateFrom, dateTo, SearchRequestSpecs.hasService(service));

        Element results = new Element("requests");
        for (Pair<DateInterval, Integer> entry : requestDateToRequestCountBetween) {
View Full Code Here

TOP

Related Classes of org.fao.geonet.repository.statistic.DateInterval

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.