Revision b9ad2eee
Von Bernd Bleßmann vor mehr als 4 Jahren hinzugefügt
t/helper/datetime.t | ||
---|---|---|
is tue->add_businessdays(businessweek => 6, days => 8), tue->add(days => 9), "tue + 8 => thu (date) (6dw)";
|
||
|
||
|
||
# same with substract
|
||
# same with subtract
|
||
|
||
is mon->subtract_businessdays(days => 5)->day_of_week, 1, "mon - 5 => mon";
|
||
is mon->subtract_businessdays(days => 12)->day_of_week, 4, "mon - 12 => thu";
|
Auch abrufbar als: Unified diff
Typo im Kommentar: subtract statt substract