git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-dashboard-harvester-se-plugin@167793 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6e3ca2befe
commit
b5ac35f453
|
@ -153,7 +153,9 @@ public class AccountingDataHarvesterPluginTest extends ContextTest {
|
|||
|
||||
MeasureType measureType = MeasureType.MONTHLY;
|
||||
|
||||
//Date start = DateUtils.getStartCalendar(2018, Calendar.APRIL, 1).getTime();
|
||||
// Date start = DateUtils.getStartCalendar(2015, Calendar.FEBRUARY, 1).getTime();
|
||||
// Date end = DateUtils.getStartCalendar(2019, Calendar.FEBRUARY, 1).getTime();
|
||||
|
||||
Date start = DateUtils.getPreviousPeriod(measureType).getTime();
|
||||
Date end = DateUtils.getEndDateFromStartDate(measureType, start, 1);
|
||||
|
||||
|
@ -181,6 +183,9 @@ public class AccountingDataHarvesterPluginTest extends ContextTest {
|
|||
|
||||
MeasureType measureType = MeasureType.MONTHLY;
|
||||
|
||||
// Date start = DateUtils.getStartCalendar(2015, Calendar.FEBRUARY, 1).getTime();
|
||||
// Date end = DateUtils.getStartCalendar(2019, Calendar.FEBRUARY, 1).getTime();
|
||||
|
||||
Date start = DateUtils.getPreviousPeriod(measureType).getTime();
|
||||
Date end = DateUtils.getEndDateFromStartDate(measureType, start, 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue