src/DateTime/Date.php
public static function fromNative()
    {
        $args = func_get_args();

        $year  = new Year($args[0]);
        $month = Month::fromNative($args[1]);
        $day   = new MonthDay($args[2]);

        return new static($year, $month, $day);
    }
public static function fromNative()
    {
        $args = func_get_args();

        $year  = new Year($args[0]);
        $month = Month::fromNative($args[1]);
        $day   = new MonthDay($args[2]);

        return new static($year, $month, $day);
    }
public static function fromNative ( ) { $ args = func_get_args ( ) ; $ year = new Year ( $ args [ 0 ] ) ; $ month = Month :: fromNative ( $ args [ 1 ] ) ; $ day = new MonthDay ( $ args [ 2 ] ) ; return new static ( $ year , $ month , $ day ) ; }
Returns a new Date from native year, month and day values

@param  int    $year
@param  string $month
@param  int    $day
@return Date
Returns a new Date from native year month and day values