lib/Braintree/Xml/Parser.php
private static function _timestampToUTC($timestamp)
    {
        $tz = new DateTimeZone('UTC');
        $dateTime = new DateTime($timestamp, $tz);
        $dateTime->setTimezone($tz);
        return $dateTime;
    }
private static function _timestampToUTC($timestamp)
    {
        $tz = new DateTimeZone('UTC');
        $dateTime = new DateTime($timestamp, $tz);
        $dateTime->setTimezone($tz);
        return $dateTime;
    }
private static function _timestampToUTC ( $ timestamp ) { $ tz = new DateTimeZone ( 'UTC' ) ; $ dateTime = new DateTime ( $ timestamp , $ tz ) ; $ dateTime -> setTimezone ( $ tz ) ; return $ dateTime ; }
Converts XML timestamps into DateTime instances

@param string $timestamp
@return DateTime
Converts XML timestamps into DateTime instances