Examples of roundDown()


Examples of org.libreplan.business.workingday.IntraDayDate.roundDown()

    private DurationBetweenDates fromCurrentDuration() {
        IntraDayDate start = getIntraDayStartDate();
        IntraDayDate end = getIntraDayEndDate();
        int calculatedWorkableDays = getWorkableDaysFrom(start.roundUp(),
                end.roundDown());
        EffortDuration extraDuration = getExtraDurationAtStart(start).plus(
                end.getEffortDuration());
        return new DurationBetweenDates(calculatedWorkableDays, extraDuration);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.