public function testMonth()
 {
     $literal = new EasyRdf_Literal_Date('5th August 2011');
     $this->assertEquals(8, $literal->month());
 }
Пример #2
0
 public function testMonth()
 {
     $literal = new EasyRdf_Literal_Date('2011-08-05');
     $this->assertSame(8, $literal->month());
 }