Exemple #1
0
 /**
  *
  * @param array|string $days
  */
 public function __construct($days)
 {
     parent::__construct('j', $days);
 }
 /**
  * @param int $day
  * @param int $month
  */
 public function __construct($day, $month)
 {
     parent::__construct('j/n', (int) $day . '/' . (int) $month);
 }
Exemple #3
0
 /**
  * @param array|string $months
  */
 public function __construct($months)
 {
     parent::__construct('n', $months);
 }
Exemple #4
0
 /**
  * @param array|string $years
  */
 public function __construct($years)
 {
     parent::__construct('Y', $years);
 }