summaryrefslogtreecommitdiff
path: root/ext/date/lib/timelib.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2005-07-20 08:31:02 +0000
committerDerick Rethans <derick@php.net>2005-07-20 08:31:02 +0000
commite6c1ff254d0c1b246d83bdaffda0a9403fa5eeba (patch)
tree8ab4eea135d222934408c686833c2cda8994413d /ext/date/lib/timelib.h
parentefcfe44299e3562b538d0b17c5c5b51a432ef44f (diff)
downloadphp-git-e6c1ff254d0c1b246d83bdaffda0a9403fa5eeba.tar.gz
- Fixed bug #33578 (strtotime() problem with "Oct17" format).
- Fixed problems with lone years in strtotime(). - Added functions to timelib to get a list of all abbreviations and timezone identifiers. - Fixed problems with parsed dates that only have GMT offsets associated with them. - Fixed a Windows compile problem. - Added special constants for different often used date formats (DATE_ISO8601, DATE_RFC822, DATE_RSS etc). - Fixed date_default_timezone_get() to return the guessed timezone if none was set yet with date_default_timezone_set(). - Added experimental support for Date/Timezone objects as per specifications.
Diffstat (limited to 'ext/date/lib/timelib.h')
-rw-r--r--ext/date/lib/timelib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/date/lib/timelib.h b/ext/date/lib/timelib.h
index aabdadd0fb..e293549eeb 100644
--- a/ext/date/lib/timelib.h
+++ b/ext/date/lib/timelib.h
@@ -49,6 +49,7 @@ void timelib_isoweek_from_date(timelib_sll y, timelib_sll m, timelib_sll d, time
timelib_time *timelib_strtotime(char *s, int *errors);
void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options);
char *timelib_timezone_id_from_abbr(const char *abbr);
+timelib_tz_lookup_table *timelib_timezone_abbreviations_list(void);
/* From tm2unixtime.c */
void timelib_update_ts(timelib_time* time, timelib_tzinfo* tzi);
@@ -57,6 +58,7 @@ void timelib_update_ts(timelib_time* time, timelib_tzinfo* tzi);
int timelib_apply_localtime(timelib_time *t, unsigned int localtime);
void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts);
void timelib_unixtime2local(timelib_time *tm, timelib_sll ts, timelib_tzinfo* tz);
+void timelib_update_from_sse(timelib_time *tm);
void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz);
/* From parse_tz.c */
@@ -64,6 +66,7 @@ timelib_tzinfo *timelib_parse_tzfile(char *timezone);
int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz);
timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz);
void timelib_dump_tzinfo(timelib_tzinfo *tz);
+timelib_tzdb_index_entry *timelib_timezone_identifiers_list(int *count);
/* From timelib.c */
timelib_tzinfo* timelib_tzinfo_ctor();