Exemple #1
0
 function testStrings()
 {
     $this->assertEquals(Jalali::DateString($this->Timestamp), "1391-11-15");
     $this->assertEquals(Jalali::TimeString($this->Timestamp), "01:39:26");
     $this->assertEquals(new Jalali($this->Timestamp), "1391-11-15 01:39:26");
     $this->assertEquals(new Jalali(), new Jalali(jf::time()));
 }