<?php
/**
* Example of HijriCalendar class usage.
*
* @author Hossamzee.
* @date 3 Dec 2012.
*/
require_once("./HijriCalendar.class.php");
/* Create a new instance of HijriCalendar class. */
$hijriCalendar = new HijriCalendar();
/* Set Hijri year. */
$hijriCalendar->hijriYear = 1434;
/* Print the result. */
echo $hijriCalendar->getHijriYearCalendar();
|