public function testToString() { $this->assertSame('1987', (string) Year::of(1987)); }
/** * Returns whether the year is a leap year. * * @return boolean */ public function isLeapYear() { return Year::of($this->year)->isLeap(); }
public function testToString() { $this->assertSame('1987', (string) Year::of(1987)); }
/** * Returns whether the year is a leap year. * * @return boolean */ public function isLeapYear() { return Year::of($this->year)->isLeap(); }