Function __global->find_timezone_end_hour_in_utc
Definitions
sources/calendar.php
- Find last hour in day for a timezone.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $timezone | ID_TEXT | No | No | required parameter | N/A | N/A | The timezone of the event |
| $year | ?integer | No | No | required parameter | N/A | N/A | Year (null: N/A) |
| $month | ?integer | No | No | required parameter | N/A | N/A | Month (null: N/A) |
| $day | ?integer | No | No | required parameter | N/A | N/A | Day (null: N/A) |
| $monthly_spec_type | ID_TEXT | No | No | required parameter | day_of_month day_of_month_backwards dow_of_month dow_of_month_backwards | N/A | In-month specification type |
Returns
- Hour (null: N/A)
- Type: ?integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find last hour in day for a timezone.
*
* @param ID_TEXT $timezone The timezone of the event
* @param ?integer $year Year (null: N/A)
* @param ?integer $month Month (null: N/A)
* @param ?integer $day Day (null: N/A)
* @param ID_TEXT $monthly_spec_type In-month specification type
* @set day_of_month day_of_month_backwards dow_of_month dow_of_month_backwards
* @return ?integer Hour (null: N/A)
*/
function find_timezone_end_hour_in_utc(string $timezone, ?int $year, ?int $month, ?int $day, string $monthly_spec_type) : ?int
* Find last hour in day for a timezone.
*
* @param ID_TEXT $timezone The timezone of the event
* @param ?integer $year Year (null: N/A)
* @param ?integer $month Month (null: N/A)
* @param ?integer $day Day (null: N/A)
* @param ID_TEXT $monthly_spec_type In-month specification type
* @set day_of_month day_of_month_backwards dow_of_month dow_of_month_backwards
* @return ?integer Hour (null: N/A)
*/
function find_timezone_end_hour_in_utc(string $timezone, ?int $year, ?int $month, ?int $day, string $monthly_spec_type) : ?int

