src/Util/Date.php
public function setDate($year, $month, $day)
    {
      // Validate
      self::validateDate($year, $month, $day);
      
      // Set internal year, month and day variables
      $this->year  = (int)$year;
      $this->month = (int)$month;
      $this->day   = (int)$day;
    }
public function setDate($year, $month, $day)
    {
      // Validate
      self::validateDate($year, $month, $day);
      
      // Set internal year, month and day variables
      $this->year  = (int)$year;
      $this->month = (int)$month;
      $this->day   = (int)$day;
    }
public function setDate ( $ year , $ month , $ day ) { // Validate self :: validateDate ( $ year , $ month , $ day ) ; // Set internal year, month and day variables $ this -> year = ( int ) $ year ; $ this -> month = ( int ) $ month ; $ this -> day = ( int ) $ day ; }
Set the date represented by this Date

@param integer $year
@param integer $month
@param integer $day
@return void
Set the date represented by this Date