240
244
pStrategy = new RotateByIntervalStrategy(Timespan(30*Timespan::DAYS));
241
245
else if (unit == "seconds") // for testing only
242
246
pStrategy = new RotateByIntervalStrategy(Timespan(n*Timespan::SECONDS));
243
249
else if (unit == "hours")
244
250
pStrategy = new RotateByIntervalStrategy(Timespan(n*Timespan::HOURS));