function date_repeat_calc in Date 5.2
Same name and namespace in other branches
- 6.2 date_repeat/date_repeat.module \date_repeat_calc()
- 6 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_build_dates in date/
date_repeat.inc - Helper function to build repeating dates from a $node_field.
File
- date_repeat/
date_repeat.module, line 266 - 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(), $timezone = NULL) {
require_once './' . drupal_get_path('module', 'date_repeat') . '/date_repeat_calc.inc';
return _date_repeat_calc($rrule, $start, $end, $exceptions, $timezone);
}