|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
#include "timelib.h"#include "timelib_private.h"#include <ctype.h>#include <errno.h>#include <math.h>#include <assert.h>#include <limits.h>#include "timezonemap.h"#include "fallbackmap.h"Go to the source code of this file.
Data Structures | |
| struct | _timelib_elems |
| struct | _Scanner |
| struct | _timelib_lookup_table |
| struct | _timelib_relunit |
Typedefs | |
| typedef unsigned char | uchar |
| typedef struct _timelib_elems | timelib_elems |
| typedef struct _Scanner | Scanner |
| typedef struct _timelib_lookup_table | timelib_lookup_table |
| typedef struct _timelib_relunit | timelib_relunit |
| #define BSIZE 8192 |
Definition at line 86 of file parse_date.c.
| #define DATE 259 |
Definition at line 49 of file parse_date.c.
Definition at line 127 of file parse_date.c.
| #define EOI 257 |
Definition at line 47 of file parse_date.c.
| #define MAX_ABBR_LEN 6 |
Definition at line 178 of file parse_date.c.
| #define RET | ( | i | ) |
Definition at line 94 of file parse_date.c.
Definition at line 845 of file parse_date.c.
Definition at line 846 of file parse_date.c.
Definition at line 43 of file parse_date.c.
| #define TIME 258 |
Definition at line 48 of file parse_date.c.
| #define TIMELIB_ADJUST_RELATIVE_WEEKDAY | ( | ) |
Definition at line 109 of file parse_date.c.
| #define TIMELIB_AGO 301 |
Definition at line 76 of file parse_date.c.
| #define TIMELIB_AMERICAN 266 |
Definition at line 58 of file parse_date.c.
| #define TIMELIB_CHECK_NUMBER |
Definition at line 24929 of file parse_date.c.
| #define TIMELIB_CHECK_SIGNED_NUMBER |
Definition at line 24934 of file parse_date.c.
| #define TIMELIB_CLF 274 |
Definition at line 66 of file parse_date.c.
| #define TIMELIB_DATE_FULL 268 |
Definition at line 60 of file parse_date.c.
| #define TIMELIB_DATE_FULL_POINTED 277 |
Definition at line 69 of file parse_date.c.
| #define TIMELIB_DATE_NO_DAY 275 |
Definition at line 67 of file parse_date.c.
| #define TIMELIB_DATE_NOCOLON 270 |
Definition at line 62 of file parse_date.c.
| #define TIMELIB_DATE_TEXT 269 |
Definition at line 61 of file parse_date.c.
| #define TIMELIB_DEINIT timelib_string_free(str) |
Definition at line 108 of file parse_date.c.
| #define TIMELIB_ERROR 999 |
Definition at line 80 of file parse_date.c.
| #define TIMELIB_GNU_NOCOLON 263 |
Definition at line 54 of file parse_date.c.
| #define TIMELIB_GNU_NOCOLON_TZ 264 |
Definition at line 55 of file parse_date.c.
| #define TIMELIB_HAVE_DATE | ( | ) |
Definition at line 100 of file parse_date.c.
| #define TIMELIB_HAVE_RELATIVE | ( | ) |
Definition at line 102 of file parse_date.c.
| #define TIMELIB_HAVE_SPECIAL_RELATIVE | ( | ) |
Definition at line 104 of file parse_date.c.
| #define TIMELIB_HAVE_TIME | ( | ) |
Definition at line 98 of file parse_date.c.
| #define TIMELIB_HAVE_TZ | ( | ) |
Definition at line 105 of file parse_date.c.
| #define TIMELIB_HAVE_WEEKDAY_RELATIVE | ( | ) |
Definition at line 103 of file parse_date.c.
Definition at line 107 of file parse_date.c.
| #define TIMELIB_ISO_DATE 267 |
Definition at line 59 of file parse_date.c.
| #define TIMELIB_ISO_NOCOLON 265 |
Definition at line 56 of file parse_date.c.
| #define TIMELIB_ISO_WEEK 279 |
Definition at line 71 of file parse_date.c.
| #define TIMELIB_LF_DAY_OF_MONTH 280 |
Definition at line 72 of file parse_date.c.
| #define TIMELIB_PG_REVERSE 273 |
Definition at line 65 of file parse_date.c.
| #define TIMELIB_PG_TEXT 272 |
Definition at line 64 of file parse_date.c.
| #define TIMELIB_PG_YEARDAY 271 |
Definition at line 63 of file parse_date.c.
| #define TIMELIB_PROCESS_YEAR | ( | x, | |
| l ) |
Definition at line 111 of file parse_date.c.
| #define TIMELIB_RELATIVE 310 |
Definition at line 78 of file parse_date.c.
| #define TIMELIB_SHORTDATE_WITH_TIME 276 |
Definition at line 68 of file parse_date.c.
| #define timelib_string_free timelib_free |
Definition at line 96 of file parse_date.c.
| #define TIMELIB_TIME12 261 |
Definition at line 52 of file parse_date.c.
| #define TIMELIB_TIME24 262 |
Definition at line 53 of file parse_date.c.
| #define TIMELIB_TIME24_WITH_ZONE 278 |
Definition at line 70 of file parse_date.c.
| #define TIMELIB_TIMEZONE 300 |
Definition at line 75 of file parse_date.c.
| #define TIMELIB_UNHAVE_DATE | ( | ) |
| #define TIMELIB_UNHAVE_TIME | ( | ) |
| #define TIMELIB_WEEK_DAY_OF_MONTH 281 |
Definition at line 73 of file parse_date.c.
| #define TIMELIB_XMLRPC_SOAP 260 |
Definition at line 51 of file parse_date.c.
Definition at line 88 of file parse_date.c.
| #define YYCURSOR cursor |
Definition at line 89 of file parse_date.c.
Definition at line 128 of file parse_date.c.
Definition at line 92 of file parse_date.c.
Definition at line 90 of file parse_date.c.
Definition at line 91 of file parse_date.c.
| #define YYMAXFILL 36 |
Definition at line 24846 of file parse_date.c.
| typedef struct _timelib_elems timelib_elems |
| typedef struct _timelib_lookup_table timelib_lookup_table |
| typedef struct _timelib_relunit timelib_relunit |
| typedef unsigned char uchar |
Definition at line 84 of file parse_date.c.
| void timelib_fill_holes | ( | timelib_time * | parsed, |
| timelib_time * | now, | ||
| int | options ) |
Definition at line 25529 of file parse_date.c.
| timelib_time * timelib_parse_from_format | ( | const char * | format, |
| const char * | string, | ||
| size_t | len, | ||
| timelib_error_container ** | errors, | ||
| const timelib_tzdb * | tzdb, | ||
| timelib_tz_get_wrapper | tz_get_wrapper ) |
Definition at line 25032 of file parse_date.c.
| timelib_time * timelib_parse_from_format_with_map | ( | const char * | format, |
| const char * | string, | ||
| size_t | len, | ||
| timelib_error_container ** | errors, | ||
| const timelib_tzdb * | tzdb, | ||
| timelib_tz_get_wrapper | tz_get_wrapper, | ||
| const timelib_format_config * | format_config ) |
Definition at line 25037 of file parse_date.c.
| timelib_long timelib_parse_zone | ( | const char ** | ptr, |
| int * | dst, | ||
| timelib_time * | t, | ||
| int * | tz_not_found, | ||
| const timelib_tzdb * | tzdb, | ||
| timelib_tz_get_wrapper | tz_wrapper ) |
DEPRECATED, but still used by PHP.
Definition at line 940 of file parse_date.c.
| timelib_time * timelib_strtotime | ( | const char * | s, |
| size_t | len, | ||
| timelib_error_container ** | errors, | ||
| const timelib_tzdb * | tzdb, | ||
| timelib_tz_get_wrapper | tz_get_wrapper ) |
Definition at line 24849 of file parse_date.c.
| const timelib_tz_lookup_table * timelib_timezone_abbreviations_list | ( | void | ) |
Definition at line 25586 of file parse_date.c.
| const char * timelib_timezone_id_from_abbr | ( | const char * | abbr, |
| timelib_long | gmtoffset, | ||
| int | isdst ) |
Definition at line 25574 of file parse_date.c.