public function getStartDate()
{
return $this->startDate;
}
public function testLoadFromStringWithDtstart() { $string = 'FREQ=MONTHLY;DTSTART=20140222T073000'; $this->rule->setTimezone('America/Los_Angeles'); $this->rule->loadFromString($string); $expectedStartDate = new \DateTime('2014-02-22 07:30:00', new \DateTimeZone('America/Los_Angeles')); $this->assertEquals(Frequency::MONTHLY, $this->rule->getFreq()); $this->assertEquals($expectedStartDate, $this->rule->getStartDate()); }