- Reorganize headers, and update TODO.

This commit is contained in:
Derick Rethans 2005-06-29 19:08:26 +00:00
parent e7de7ff9e2
commit e4860af785
7 changed files with 6 additions and 14 deletions

View File

@ -1,6 +1,6 @@
- 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.

View File

@ -18,9 +18,7 @@
/* $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 */

View File

@ -18,7 +18,7 @@
/* $Id$ */
#include <timelib_config.h>
#include "timelib.h"
#include <stdio.h>
@ -27,8 +27,6 @@
#else
#include <strings.h>
#endif
#include "timelib.h"
#include "timezonedb.h"
#ifdef WORDS_BIGENDIAN

View File

@ -18,9 +18,6 @@
/* $Id$ */
#include <timelib_config.h>
#include "timelib_structs.h"
#include "timelib.h"
#include <ctype.h>

View File

@ -21,6 +21,8 @@
#ifndef __TIMELIB_STRUCTS_H__
#define __TIMELIB_STRUCTS_H__
#include <timelib_config.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif

View File

@ -18,7 +18,6 @@
/* $Id$ */
#include <timelib_config.h>
#include "timelib.h"
/* jan feb mrt apr may jun jul aug sep oct nov dec */

View File

@ -18,7 +18,7 @@
/* $Id$ */
#include <timelib_config.h>
#include "timelib.h"
#include <stdio.h>
@ -38,8 +38,6 @@
#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 };