Package org.eurekastreams.server.domain

Examples of org.eurekastreams.server.domain.TempWeekdaysSinceDate


        // loop through N days, populating the data
        for (int i = 1; i <= inDaysToCalculate; i++)
        {
            Date date = DateDayExtractor.getStartOfDay(daysAgoDateStrategy.execute(i));
            int weekdaysCount = weekdaysInDateRangeStrategy.getWeekdayCountBetweenDates(date, today);
            TempWeekdaysSinceDate record = new TempWeekdaysSinceDate(date.getTime(), weekdaysCount);

            log.debug("Calculated " + weekdaysCount + " weekdays between now and " + date);
            insertMapper.execute(new PersistenceRequest<TempWeekdaysSinceDate>(record));
        }
        flushMapper.execute(null);
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.domain.TempWeekdaysSinceDate

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.