Package name.abuchen.portfolio.snapshot.Aggregation

Examples of name.abuchen.portfolio.snapshot.Aggregation.Period


    {
        super(model, renderer);

        Interval interval = part.loadReportingPeriods().getFirst().toInterval();

        Period weekly = Aggregation.Period.WEEKLY;

        final DateMidnight start = interval.getStart().toDateMidnight();
        final DateMidnight end = interval.getEnd().toDateMidnight();
        DateMidnight current = weekly.getStartDateFor(start);

        dates = new ArrayList<DateMidnight>();
        while (current.isBefore(end))
        {
            dates.add(current);
            current = current.plus(weekly.getPeriod());
        }
        dates.add(end);
    }
View Full Code Here

TOP

Related Classes of name.abuchen.portfolio.snapshot.Aggregation.Period

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.