You are here

function date_repeat_calc in Date 7.2

Same name and namespace in other branches
  1. 5.2 date_repeat/date_repeat.module \date_repeat_calc()
  2. 6.2 date_repeat/date_repeat.module \date_repeat_calc()
  3. 6 date_repeat/date_repeat.module \date_repeat_calc()
  4. 7.3 date_repeat/date_repeat.module \date_repeat_calc()
  5. 7 date_repeat/date_repeat.module \date_repeat_calc()

Analyze a RRULE and return dates that match it.

3 calls to date_repeat_calc()
DateRepeatTestCase::testDateRepeat in date_repeat/tests/date_repeat.test
Test date_repeat functions.
DateRepeatTestCase::testUsaThanksgivingDates in date_repeat/tests/date_repeat.test
Test USA Thanksgiving rules.
date_repeat_build_dates in date_repeat_field/date_repeat_field.module
Helper function to build repeating dates from a $node_field.
2 string references to 'date_repeat_calc'
date_repeat_field_date_field_insert in date_repeat_field/date_repeat_field.devel_generate.inc
Implements hook_date_field_insert().
date_repeat_rrule_description in date_repeat/date_repeat.module
Build a description of an iCal rule.

File

date_repeat/date_repeat.module, line 399
Primary hook implementations for the Date Repeat module.

Code

function date_repeat_calc($rrule, $start, $end, $exceptions = array(), $timezone = NULL, $additions = array()) {
  module_load_include('inc', 'date_repeat', 'date_repeat_calc');
  return _date_repeat_calc($rrule, $start, $end, $exceptions, $timezone, $additions);
}