XBRL-DateInterval.php
public static function createFromDateInterval(DateInterval $interval)
	{
		$obj = new self( 'PT0S' );
		foreach ( $interval as $property => $value ) {
			$obj->$property = $value;
		}
		return $obj;
	}
public static function createFromDateInterval(DateInterval $interval)
	{
		$obj = new self( 'PT0S' );
		foreach ( $interval as $property => $value ) {
			$obj->$property = $value;
		}
		return $obj;
	}
public static function createFromDateInterval ( DateInterval $ interval ) { $ obj = new self ( 'PT0S' ) ; foreach ( $ interval as $ property => $ value ) { $ obj -> $ property = $ value ; } return $ obj ; }
Create an instance of this class from an existing DateInterval instance
@param DateInterval $interval
@return XBRL_DateInterval
Create an instance of this class from an existing DateInterval instance