Details
Description
Would be nice to have Zend_Date::factory() method, that will be identical to __construct(), but will work as static factory method. For example:
$date = new Zend_Date('10/03/2010');
echo $date->get(Zend_Date::MONTH);
Would look much nicer and compact with this:
echo Zend_Date::factory('10/03/2010')->get(Zend_Date::MONTH);
There is no difference to
As you can have multiple instances of this object the factory pattern is not necessary.