Examples of decreaseBy()


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

    @Test
    public void theDateAlwaysKeepsBeingTheSameWhenDecreasing() {
        LocalDate today = new LocalDate();
        IntraDayDate intraDate = IntraDayDate.create(today, hours(10));
        assertThat(intraDate.decreaseBy(ResourcesPerDay.amount(1), hours(12))
                .getDate(), equalTo(today));
    }

    @Test
    public void calculateEffortBetweenTwoDates() {
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.