function date_repeat_calc in Date 6
Same name and namespace in other branches
- 5.2 date_repeat/date_repeat.module \date_repeat_calc()
- 6.2 date_repeat/date_repeat.module \date_repeat_calc()
- 7.3 date_repeat/date_repeat.module \date_repeat_calc()
- 7 date_repeat/date_repeat.module \date_repeat_calc()
- 7.2 date_repeat/date_repeat.module \date_repeat_calc()
Analyze a RRULE and return dates that match it.
2 calls to date_repeat_calc()
- DateRepeat::testDateRepeat in tests/
date_repeat.test - _date_repeat_widget_validate in date/
date_repeat.inc - Validation for date repeat form element.
File
- date_repeat/
date_repeat.module, line 258 - This module creates a form element that allows users to select repeat rules for a date, and reworks the result into an iCal RRULE string that can be stored in the database.
Code
function date_repeat_calc($rrule, $start, $end, $exceptions = array()) {
include_once './' . drupal_get_path('module', 'date_repeat') . '/date_repeat_calc.inc';
return _date_repeat_calc($rrule, $start, $end, $exceptions);
}