You are here

function date_repeat_calc in Date 7

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.2 date_repeat/date_repeat.module \date_repeat_calc()

Analyze a RRULE and return dates that match it.

2 calls to date_repeat_calc()
DateRepeatTestCase::testDateRepeat in date_repeat/tests/date_repeat.test
date_repeat_build_dates in ./date_repeat.inc
Helper function to build repeating dates from a $node_field.
2 string references to 'date_repeat_calc'
date_devel_generate in ./date.devel_generate.inc
Implementation of Devel module's hook_content_generate().
date_repeat_rrule_description in date_repeat/date_repeat.module
Build a description of an iCal rule.

File

date_repeat/date_repeat.module, line 292
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, $additions = array()) {
  module_load_include('inc', 'date_repeat', 'date_repeat_calc');
  return _date_repeat_calc($rrule, $start, $end, $exceptions, $timezone, $additions);
}