function __construct($slot_, $prefer_mdy__or_str_ = null, $epoch_year__or_prefix_ = null, $prefer_mdy_ = null, $epoch_year_ = null) { if (is_resource($slot_) && get_resource_type($slot_) === '_p_Xapian__DateValueRangeProcessor') { $this->_cPtr = $slot_; return; } switch (func_num_args()) { case 1: $this->_cPtr = new_DateValueRangeProcessor($slot_); break; case 2: $this->_cPtr = new_DateValueRangeProcessor($slot_, $prefer_mdy__or_str_); break; case 3: $this->_cPtr = new_DateValueRangeProcessor($slot_, $prefer_mdy__or_str_, $epoch_year__or_prefix_); break; case 4: $this->_cPtr = new_DateValueRangeProcessor($slot_, $prefer_mdy__or_str_, $epoch_year__or_prefix_, $prefer_mdy_); break; default: $this->_cPtr = new_DateValueRangeProcessor($slot_, $prefer_mdy__or_str_, $epoch_year__or_prefix_, $prefer_mdy_, $epoch_year_); } }
function __construct($valno_, $prefer_mdy_ = false, $epoch_year_ = 1970) { $this->_cPtr = new_DateValueRangeProcessor($valno_, $prefer_mdy_, $epoch_year_); }