/**
  * Test that you can determine the amount of days in the year (usually 365, but 366 on leap-year)
  */
 public function testNumDaysInYear()
 {
     $date = new qCal_Date(2009, 4, 23);
     $this->assertEqual($date->getNumDaysInYear(), 365);
     $date2 = new qCal_Date(2008, 4, 23);
     $this->assertTrue($date2->getNumDaysInYear(), 366);
 }