- Port over my 200 test cases to .phpt format.
- Write an error handler for unexpected characters while parsing dates.
- Cache lookups for timezone information.
-- Change tz structure lookup to use binary search.
- Move all date/time related functions from ext/standard to ext/date.
- Move all date/time related tests from ext/standard/tests to ext/data/tests.
+- Optimize parsing @ with a negative timestamp.
/* $Id$ */
-#include <timelib_config.h>
-
-#include "timelib_structs.h"
+#include "timelib.h"
static int m_table_common[13] = { -1, 0, 3, 3, 6, 1, 4, 6, 2, 5, 0, 3, 5 }; /* 1 = jan */
static int m_table_leap[13] = { -1, 6, 2, 3, 6, 1, 4, 6, 2, 5, 0, 3, 5 }; /* 1 = jan */
/* $Id$ */
-#include <timelib_config.h>
+#include "timelib.h"
#include <stdio.h>
#else
#include <strings.h>
#endif
-
-#include "timelib.h"
#include "timezonedb.h"
#ifdef WORDS_BIGENDIAN
/* $Id$ */
-#include <timelib_config.h>
-
-#include "timelib_structs.h"
#include "timelib.h"
#include <ctype.h>
#ifndef __TIMELIB_STRUCTS_H__
#define __TIMELIB_STRUCTS_H__
+#include <timelib_config.h>
+
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
/* $Id$ */
-#include <timelib_config.h>
#include "timelib.h"
/* jan feb mrt apr may jun jul aug sep oct nov dec */
/* $Id$ */
-#include <timelib_config.h>
+#include "timelib.h"
#include <stdio.h>
#define TIMELIB_LL_CONST(n) n ## ll
#endif
-#include "timelib.h"
-
static int month_tab_leap[12] = { -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 };
static int month_tab[12] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 };