| version 1.2, 2005/11/07 20:37:29 |
version 1.3, 2005/11/25 09:49:50 |
|
|
| <?php |
<?php |
| |
|
| /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ |
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ |
| |
// |
| |
// +----------------------------------------------------------------------+ |
| |
// | Copyright (c) 1997-2005 Allan Kent | |
| |
// +----------------------------------------------------------------------+ |
| |
// | This source file is subject to the New BSD license, That is bundled | |
| |
// | with this package in the file LICENSE, and is available through | |
| |
// | the world-wide-web at | |
| |
// | http://www.opensource.org/licenses/bsd-license.php | |
| |
// | If you did not receive a copy of the new BSDlicense and are unable | |
| |
// | to obtain it through the world-wide-web, please send a note to | |
| |
// | pear-dev@lists.php.net so we can mail you a copy immediately. | |
| |
// +----------------------------------------------------------------------+ |
| |
// | Author: Allan Kent <allan@lodestone.co.za> | |
| |
// +----------------------------------------------------------------------+ |
| |
|
| /** |
/** |
| * Class to convert date strings between Gregorian and Human calendar formats |
* Class to convert date strings between Gregorian and Human calendar formats |
|
|
| * |
* |
| * PHP versions 4 and 5 |
* PHP versions 4 and 5 |
| * |
* |
| * LICENSE: This source file is subject to version 2.02 of the PHP license |
|
| * that is available through the world-wide-web at the following URI: |
|
| * http://www.php.net/license/2_02.txt. If you did not receive a copy of |
|
| * the PHP License and are unable to obtain it through the web, please |
|
| * send a note to license@php.net so we can mail you a copy immediately. |
|
| * |
|
| * @category Date and Time |
* @category Date and Time |
| * @package Date |
* @package Date |
| * @author Allan Kent <allan@lodestone.co.za> |
* @author Allan Kent <allan@lodestone.co.za> |
| * @copyright 1997-2005 The PHP Group |
* @copyright 1997-2005 Allan Kent |
| * @license http://www.php.net/license/2_02.txt PHP License |
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License |
| * @version CVS: $Id$ |
* @version CVS: $Id$ |
| * @link http://pear.php.net/package/Date |
* @link http://pear.php.net/package/Date |
| * @since File available since Release 1.3 |
* @since File available since Release 1.3 |
|
|
| * Note: Leap Years are not yet accounted for in the Human Calendar system |
* Note: Leap Years are not yet accounted for in the Human Calendar system |
| * |
* |
| * @author Allan Kent <allan@lodestone.co.za> |
* @author Allan Kent <allan@lodestone.co.za> |
| * @copyright 1997-2005 The PHP Group |
* @copyright 1997-2005 Allan Kent |
| * @license http://www.php.net/license/2_02.txt PHP License |
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License |
| * @version Release: 1.4.5 |
* @version Release: 1.4.6 |
| * @link http://pear.php.net/package/Date |
* @link http://pear.php.net/package/Date |
| * @since Class available since Release 1.3 |
* @since Class available since Release 1.3 |
| */ |
*/ |
| Line 200 class Date_Human |
|
| Line 207 class Date_Human |
|
| return $GregorianTimeStamp; |
return $GregorianTimeStamp; |
| } |
} |
| } |
} |
| |
|
| ?> |
|