mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Stub out extra test needed for ALF-13287
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@35632 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -783,6 +783,25 @@ public class CalendarHelpersTest
|
||||
assertEquals("2012-01-20", dateFmt.format(dates.get(2)));
|
||||
}
|
||||
|
||||
/**
|
||||
* eg the last Tuesday of the month
|
||||
*/
|
||||
@Test public void monthlyRecurrenceByLastDayOfWeek()
|
||||
{
|
||||
List<Date> dates = new ArrayList<Date>();
|
||||
Calendar currentDate = Calendar.getInstance();
|
||||
|
||||
// The last Tuesday of every 2nd month
|
||||
// FREQ=MONTHLY;INTERVAL=2;BYDAY=TU;BYSETPOS=-1
|
||||
Map<String,String> params = new HashMap<String, String>();
|
||||
params.put("FREQ", "MONTHLY");
|
||||
params.put("INTERVAL", "2");
|
||||
params.put("BYDAY", "TU");
|
||||
params.put("BYSETPOS", "-1");
|
||||
|
||||
// TODO Add tests for this case, ALF-13287
|
||||
}
|
||||
|
||||
/**
|
||||
* eg every 21st of February
|
||||
*/
|
||||
|
Reference in New Issue
Block a user