public static function toGregorian($jy, $jm, $jd) { return self::d2g(self::j2d($jy, $jm, $jd)); }
public function testToGregorian() { $this->assertTrue(jDateTime::toGregorian(1395, 2, 18) === [2016, 5, 7]); $this->assertFalse(jDateTime::toGregorian(1394, 2, 18) === [2015, 5, 7]); }