summaryrefslogtreecommitdiff
path: root/ext/date/php_date.h
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
committerSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
commit2876046398950e59c3b3c460e67e6fec7ff2ba3c (patch)
tree33b2b8b4b859960a6446ad19d0ada1c55f9cfcda /ext/date/php_date.h
parent3fb86b0b9e79e6a3312b694f30ee627e2e1b325c (diff)
downloadphp-git-php-5.3.0alpha2.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'.php-5.3.0alpha2
Diffstat (limited to 'ext/date/php_date.h')
-rw-r--r--ext/date/php_date.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/ext/date/php_date.h b/ext/date/php_date.h
index caa792f06d..9c063bd62a 100644
--- a/ext/date/php_date.h
+++ b/ext/date/php_date.h
@@ -101,50 +101,6 @@ PHP_MINIT_FUNCTION(date);
PHP_MSHUTDOWN_FUNCTION(date);
PHP_MINFO_FUNCTION(date);
-typedef struct _php_date_obj php_date_obj;
-typedef struct _php_timezone_obj php_timezone_obj;
-typedef struct _php_interval_obj php_interval_obj;
-typedef struct _php_period_obj php_period_obj;
-
-struct _php_date_obj {
- zend_object std;
- timelib_time *time;
- HashTable *props;
-};
-
-struct _php_timezone_obj {
- zend_object std;
- int initialized;
- int type;
- union {
- timelib_tzinfo *tz; /* TIMELIB_ZONETYPE_ID; */
- timelib_sll utc_offset; /* TIMELIB_ZONETYPE_OFFSET */
- struct /* TIMELIB_ZONETYPE_ABBR */
- {
- timelib_sll utc_offset;
- char *abbr;
- int dst;
- } z;
- } tzi;
-};
-
-struct _php_interval_obj {
- zend_object std;
- timelib_rel_time *diff;
- HashTable *props;
- int initialized;
-};
-
-struct _php_period_obj {
- zend_object std;
- timelib_time *start;
- timelib_time *end;
- timelib_rel_time *interval;
- int recurrences;
- int initialized;
- int include_start_date;
-};
-
ZEND_BEGIN_MODULE_GLOBALS(date)
char *default_timezone;
char *timezone;
@@ -172,8 +128,4 @@ PHPAPI char *php_format_date(char *format, int format_len, time_t ts, int localt
PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb);
PHPAPI timelib_tzinfo *get_timezone_info(TSRMLS_D);
-/* Grabbing CE's so that other exts can use the date objects too */
-PHPAPI zend_class_entry *php_date_get_date_ce(void);
-PHPAPI zend_class_entry *php_date_get_timezone_ce(void);
-
#endif /* PHP_DATE_H */