CalendarDateManager::getInstance
Retrieves a new instance of this class.
NOTE: This is not the singleton pattern. Instead, it is for chainability ease-of-use. <b>Example:</b> <code> echo sfDate::getInstance()->getFirstDayOfWeek()->addDay()->format('Y-m-d'); </code>
Signature
public function getInstance([
$value = NULL] )
Parameters
$value
—
Returns
- sfDate