public class ProposalBudgetNumberOfMonthsServiceImpl extends Object implements ProposalBudgetNumberOfMonthsService
| Modifier and Type | Field and Description |
|---|---|
protected static double[] |
THIRTY_DAY_COUNT |
protected static double[] |
THIRTY_ONE_DAY_COUNT |
protected static double[] |
TWENTY_EIGHT_DAY_COUNT |
protected static double[] |
TWENTY_NINE_DAY_COUNT |
| Constructor and Description |
|---|
ProposalBudgetNumberOfMonthsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
countMonthsStepOne(Date startDate,
Date endDate) |
protected double |
countMonthsStepTwo(Date startDate,
Date endDate) |
protected double[] |
getMonthDailyPercentageArray(int month,
boolean isLeapYear) |
double |
getNumberOfMonth(Date startDate,
Date endDate) |
static Date |
rollDate(Date startDate,
int period,
int amount) |
static Date |
rollDays(Date startDate,
int days) |
static Date |
rollMonths(Date startDate,
int months) |
protected static final double[] THIRTY_ONE_DAY_COUNT
protected static final double[] THIRTY_DAY_COUNT
protected static final double[] TWENTY_NINE_DAY_COUNT
protected static final double[] TWENTY_EIGHT_DAY_COUNT
public ProposalBudgetNumberOfMonthsServiceImpl()
public double getNumberOfMonth(Date startDate, Date endDate)
getNumberOfMonth in interface ProposalBudgetNumberOfMonthsServiceprotected final double[] getMonthDailyPercentageArray(int month,
boolean isLeapYear)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.