Function __global->dst_boundary_difference_for_recurrence
Definitions
sources/calendar.php
- An event moved from 'a' to 'b' may have an hour/minute shift due to a DST.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: array
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $a_year | integer | No | No | required parameter | N/A | N/A | 'A' year |
| $a_month | integer | No | No | required parameter | N/A | N/A | 'A' month |
| $a_day | integer | No | No | required parameter | N/A | N/A | 'A' day |
| $b_year | integer | No | No | required parameter | N/A | N/A | 'B' year |
| $b_month | integer | No | No | required parameter | N/A | N/A | 'B' month |
| $b_day | integer | No | No | required parameter | N/A | N/A | 'B' day |
| $timezone | ID_TEXT | No | No | required parameter | N/A | N/A | The timezone of the event |
Returns
- A pair: shift in hours, shift in minutes
- Type: array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* An event moved from 'a' to 'b' may have an hour/minute shift due to a DST.
*
* @param integer $a_year 'A' year
* @param integer $a_month 'A' month
* @param integer $a_day 'A' day
* @param integer $b_year 'B' year
* @param integer $b_month 'B' month
* @param integer $b_day 'B' day
* @param ID_TEXT $timezone The timezone of the event
* @return array A pair: shift in hours, shift in minutes
*/
function dst_boundary_difference_for_recurrence(int $a_year, int $a_month, int $a_day, int $b_year, int $b_month, int $b_day, string $timezone) : array
* An event moved from 'a' to 'b' may have an hour/minute shift due to a DST.
*
* @param integer $a_year 'A' year
* @param integer $a_month 'A' month
* @param integer $a_day 'A' day
* @param integer $b_year 'B' year
* @param integer $b_month 'B' month
* @param integer $b_day 'B' day
* @param ID_TEXT $timezone The timezone of the event
* @return array A pair: shift in hours, shift in minutes
*/
function dst_boundary_difference_for_recurrence(int $a_year, int $a_month, int $a_day, int $b_year, int $b_month, int $b_day, string $timezone) : array

