cvs: pear /I18N Common.php Currency.php DateTime.php Format.php Number.php
| From: | Wolfram Kriesing | Date: | Sun, 19 Jan 2003 20:02:51 +0000 |
| Subject: | cvs: pear /I18N Common.php Currency.php DateTime.php Format.php Number.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8419@lists.php.net to get a copy of this message | ||
cain Sun Jan 19 15:02:51 2003 EDT
Modified files:
/pear/I18N Common.php Currency.php DateTime.php Format.php
Number.php
Log:
- add proper package name
- fix E_ALL warnings
Index: pear/I18N/Common.php
diff -u pear/I18N/Common.php:1.2 pear/I18N/Common.php:1.3
--- pear/I18N/Common.php:1.2 Sat Jan 4 06:55:22 2003
+++ pear/I18N/Common.php Sun Jan 19 15:02:50 2003
@@ -16,10 +16,15 @@
// | Authors: Naoki Shima <murahachibu@php.net> |
// | |
// +----------------------------------------------------------------------+//
-// $Id: Common.php,v 1.2 2003/01/04 11:55:22 mj Exp $
+// $Id: Common.php,v 1.3 2003/01/19 20:02:50 cain Exp $
require_once('PEAR.php');
+/**
+*
+* @package I18N
+*
+*/
class I18N_Common extends PEAR {
// {{{ properties
Index: pear/I18N/Currency.php
diff -u pear/I18N/Currency.php:1.2 pear/I18N/Currency.php:1.3
--- pear/I18N/Currency.php:1.2 Sat Jan 4 06:55:24 2003
+++ pear/I18N/Currency.php Sun Jan 19 15:02:50 2003
@@ -16,13 +16,18 @@
// | Authors: Wolfram Kriesing <wk@visionp.de> |
// | |
// +----------------------------------------------------------------------+//
-// $Id: Currency.php,v 1.2 2003/01/04 11:55:24 mj Exp $
+// $Id: Currency.php,v 1.3 2003/01/19 20:02:50 cain Exp $
require_once 'I18N/Number.php';
-
+
define( I18N_CURRENCY_LOCAL, 1 );
define( I18N_CURRENCY_INTERNATIONAL,2 );
+/**
+*
+* @package I18N
+*
+*/
class I18N_Currency extends I18N_Number
{
/**
Index: pear/I18N/DateTime.php
diff -u pear/I18N/DateTime.php:1.6 pear/I18N/DateTime.php:1.7
--- pear/I18N/DateTime.php:1.6 Sat Jan 4 06:55:24 2003
+++ pear/I18N/DateTime.php Sun Jan 19 15:02:50 2003
@@ -15,19 +15,24 @@
// | Authors: Wolfram Kriesing <wk@visionp.de> |
// | |
// +----------------------------------------------------------------------+//
-// $Id: DateTime.php,v 1.6 2003/01/04 11:55:24 mj Exp $
+// $Id: DateTime.php,v 1.7 2003/01/19 20:02:50 cain Exp $
require_once 'I18N/Format.php';
-define( I18N_DATETIME_SHORT , 1 );
-define( I18N_DATETIME_DEFAULT , 2 );
-define( I18N_DATETIME_MEDIUM , 3 );
-define( I18N_DATETIME_LONG , 4 );
-define( I18N_DATETIME_FULL , 5 );
-
-define( I18N_CUSTOM_FORMATS_OFFSET , 100 );
+define( 'I18N_DATETIME_SHORT' , 1 );
+define( 'I18N_DATETIME_DEFAULT' , 2 );
+define( 'I18N_DATETIME_MEDIUM' , 3 );
+define( 'I18N_DATETIME_LONG' , 4 );
+define( 'I18N_DATETIME_FULL' , 5 );
+define( 'I18N_CUSTOM_FORMATS_OFFSET' , 100 );
+
+/**
+*
+* @package I18N
+*
+*/
class I18N_DateTime extends I18N_Format
{
Index: pear/I18N/Format.php
diff -u pear/I18N/Format.php:1.2 pear/I18N/Format.php:1.3
--- pear/I18N/Format.php:1.2 Sat Jan 4 06:55:25 2003
+++ pear/I18N/Format.php Sun Jan 19 15:02:50 2003
@@ -16,10 +16,15 @@
// | Authors: Wolfram Kriesing <wk@visionp.de> |
// | |
// +----------------------------------------------------------------------+//
-// $Id: Format.php,v 1.2 2003/01/04 11:55:25 mj Exp $
+// $Id: Format.php,v 1.3 2003/01/19 20:02:50 cain Exp $
require_once 'PEAR.php';
+/**
+*
+* @package I18N
+*
+*/
class I18N_Format extends PEAR
{
Index: pear/I18N/Number.php
diff -u pear/I18N/Number.php:1.2 pear/I18N/Number.php:1.3
--- pear/I18N/Number.php:1.2 Sat Jan 4 06:55:26 2003
+++ pear/I18N/Number.php Sun Jan 19 15:02:50 2003
@@ -16,7 +16,7 @@
// | Authors: Wolfram Kriesing <wk@visionp.de> |
// | |
// +----------------------------------------------------------------------+//
-// $Id: Number.php,v 1.2 2003/01/04 11:55:26 mj Exp $
+// $Id: Number.php,v 1.3 2003/01/19 20:02:50 cain Exp $
require_once 'I18N/Format.php';
@@ -30,6 +30,8 @@
* this
* http://java.sun.com/docs/books/tutorial/i18n/format/numberpattern.html
* should be implemented, anyone with a DecimalFormat-class please step forward :-)
+*
+* @package I18N
*
*/
class I18N_Number extends I18N_Format