| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 559 lines (21 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| _date_repeat_calc($rrule, $start, $end, $exceptions, $timezone, $additions) X-Ref |
| Private implementation of date_repeat_calc(). Compute dates that match the requested rule, within a specified date range. |
| date_repeat_adjust_rrule($rrule, $start_date) X-Ref |
| See if the RRULE needs some imputed values added to it. |
| date_repeat_add_dates(&$days, $current_day, $start_date, $end_date, $exceptions, $rrule) X-Ref |
| Helper function to add found date to the $dates array. Check that the date to be added is between the start and end date and that it is not in the $exceptions, nor already in the $days array, and that it meets other criteria in the RRULE. |
| date_repeat_is_finished($current_day, $days, $count, $end_date) X-Ref |
| Stop when $current_day is greater than $end_date or $count is reached. |
| date_repeat_set_month_day($date_in, $day, $count = 1, $direction = '+', $timezone = 'UTC') X-Ref |
| Set a date object to a specific day of the month. Example, date_set_month_day($date, 'Sunday', 2, '-') will reset $date to the second to last Sunday in the month. If $day is empty, will set to the number of days from the beginning or end of the month. |
| date_repeat_set_year_day($date_in, $day, $count = 1, $direction = '+', $timezone = 'UTC') X-Ref |
| Set a date object to a specific day of the year. Example, date_set_year_day($date, 'Sunday', 2, '-') will reset $date to the second to last Sunday in the year. If $day is empty, will set to the number of days from the beginning or end of the year. |
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |