Package com.mozilla.util

Examples of com.mozilla.util.DateIterator


    @Override
    public void setLocation(String location, Job job) throws IOException {
        final List<String> paths = new ArrayList<String>();
        final String finalLocation = location;
        DateUtil.iterateByDay(start.getTimeInMillis(), end.getTimeInMillis(), new DateIterator(){
            @Override
            public void see(long aTime) {
                String aDate = inputPathFormat.format(new Date(aTime));
                String path = finalLocation.replace("%DATE%", aDate);
                LOG.info("Adding an input location: '" + path + "'");
View Full Code Here


    @Override
    public void setLocation(String location, Job job) throws IOException {
        final List<String> paths = new ArrayList<String>();
        final String finalLocation = location;
        DateUtil.iterateByDay(start.getTimeInMillis(), end.getTimeInMillis(), new DateIterator(){
            @Override
            public void see(long aTime) {
                String aDate = inputPathFormat.format(new Date(aTime));
                String path = finalLocation.replace("%DATE%", aDate);
                LOG.info("Adding a location: '" + path + "'");
View Full Code Here

TOP

Related Classes of com.mozilla.util.DateIterator

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.