示例#1
0
 /**
  * @return static
  */
 public static function now()
 {
     return new static(Year::now(), Month::now(), Day::now());
 }
示例#2
0
 public function testGetMaximum()
 {
     $this->assertEquals(31, Month::now()->getMaximum());
 }