public function testYourself()
 {
     $this->markTestSkipped("Skip");
     $your_birthday = GigasecondTest::dateSetup("your_birthday");
     $gs = from($your_birthday);
     $this->assertSame("2046-10-03 01:46:39", $gs->format("Y-m-d H:i:s"));
 }
Exemplo n.º 2
0
 public function testYourself()
 {
     // Replace the string "you_birthday" with your birthday's datestring
     $your_birthday = GigasecondTest::dateSetup("1986-03-04");
     $gs = from($your_birthday);
     $this->assertSame("2017-11-10 01:46:40", $gs->format("Y-m-d H:i:s"));
 }
Exemplo n.º 3
0
 public function test5()
 {
     $date = GigasecondTest::dateSetup("2015-01-24 23:59:59");
     $gs = from($date);
     $this->assertSame("2046-10-03 01:46:39", $gs->format("Y-m-d H:i:s"));
 }