Function code:
/**
* Get all the time offsets of a timezone.
*
* @param string $timezoneIdentifier
* @param bool $withDayLightSavingTime
* @return array
*/
function getTimeZoneOffsets(string $timezoneIdentifier, bool $withDayLightSavingTime = true) : array