private static function _getTimezoneTransitions($objTimezone, $timestamp) {
		$allTransitions = $objTimezone->getTransitions();
		$transitions = array();
		foreach($allTransitions as $key => $transition) {
			if ($transition['ts'] > $timestamp) {
				$transitions[] = ($key > 0) ? $allTransitions[$key - 1] : $transition;
				break;
			}
			if (empty($transitions)) {
				$transitions[] = end($allTransitions);
			}
		}

		return $transitions;
	}
private static function _getTimezoneTransitions($objTimezone, $timestamp) {
		$allTransitions = $objTimezone->getTransitions();
		$transitions = array();
		foreach($allTransitions as $key => $transition) {
			if ($transition['ts'] > $timestamp) {
				$transitions[] = ($key > 0) ? $allTransitions[$key - 1] : $transition;
				break;
			}
			if (empty($transitions)) {
				$transitions[] = end($allTransitions);
			}
		}

		return $transitions;
	}
private static function _getTimezoneTransitions ( $ objTimezone , $ timestamp ) { $ allTransitions = $ objTimezone -> getTransitions ( ) ; $ transitions = array ( ) ; foreach ( $ allTransitions as $ key => $ transition ) { if ( $ transition [ 'ts' ] > $ timestamp ) { $ transitions [ ] = ( $ key > 0 ) ? $ allTransitions [ $ key - 1 ] : $ transition ; break ; } if ( empty ( $ transitions ) ) { $ transitions [ ] = end ( $ allTransitions ) ; } } return $ transitions ; }
Return the Timezone transition for the specified timezone and timestamp

@param		DateTimeZone	 	$objTimezone	The timezone for finding the transitions
@param		integer	 			$timestamp		PHP date/time value for finding the current transition
@return	 	array				The current transition details
Return the Timezone transition for the specified timezone and timestamp