Lines Matching +full:date -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang)
49 * Date Parser
54 class Date
62 public $date;
561 * Cached PCRE for Date::$day
569 * Cached PCRE for Date::$month
593 * Create new Date object, and set self::day_pcre,
628 $object = new Date();
634 * Parse a date
638 * @param string $date Date to parse
639 * @return int Timestamp corresponding to date string, or false on failure
641 public function parse($date)
644 if (($returned = call_user_func($method, $date)) !== false) {
650 if (($returned = call_user_func([$this, $method], $date)) !== false) {
659 * Add a callback method to parse a date
682 public function date_w3cdtf($date)
722 if (preg_match($pcre, $date, $match)) {
800 * Parse RFC2822's date format
805 public function date_rfc2822($date)
822 if (preg_match($pcre, $this->remove_rfc2822_comments($date), $match)) {
879 * Parse RFC850's date format
884 public function date_rfc850($date)
896 if (preg_match($pcre, $date, $match)) {
935 * Parse C99's asctime()'s date format
940 public function date_asctime($date)
953 if (preg_match($pcre, $date, $match)) {
978 public function date_strtotime($date)
980 $strtotime = strtotime($date);
989 class_alias('SimplePie\Parse\Date', 'SimplePie_Parse_Date');