public function filterByPeriodEnd($periodEnd = null, $comparison = null)
    {
        if (is_array($periodEnd)) {
            $useMinMax = false;
            if (isset($periodEnd['min'])) {
                $this->addUsingAlias(DealerShedulesVersionTableMap::PERIOD_END, $periodEnd['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($periodEnd['max'])) {
                $this->addUsingAlias(DealerShedulesVersionTableMap::PERIOD_END, $periodEnd['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(DealerShedulesVersionTableMap::PERIOD_END, $periodEnd, $comparison);
    }
public function filterByPeriodEnd($periodEnd = null, $comparison = null)
    {
        if (is_array($periodEnd)) {
            $useMinMax = false;
            if (isset($periodEnd['min'])) {
                $this->addUsingAlias(DealerShedulesVersionTableMap::PERIOD_END, $periodEnd['min'], Criteria::GREATER_EQUAL);
                $useMinMax = true;
            }
            if (isset($periodEnd['max'])) {
                $this->addUsingAlias(DealerShedulesVersionTableMap::PERIOD_END, $periodEnd['max'], Criteria::LESS_EQUAL);
                $useMinMax = true;
            }
            if ($useMinMax) {
                return $this;
            }
            if (null === $comparison) {
                $comparison = Criteria::IN;
            }
        }

        return $this->addUsingAlias(DealerShedulesVersionTableMap::PERIOD_END, $periodEnd, $comparison);
    }
public function filterByPeriodEnd ( $ periodEnd = null , $ comparison = null ) { if ( is_array ( $ periodEnd ) ) { $ useMinMax = false ; if ( isset ( $ periodEnd [ 'min' ] ) ) { $ this -> addUsingAlias ( DealerShedulesVersionTableMap :: PERIOD_END , $ periodEnd [ 'min' ] , Criteria :: GREATER_EQUAL ) ; $ useMinMax = true ; } if ( isset ( $ periodEnd [ 'max' ] ) ) { $ this -> addUsingAlias ( DealerShedulesVersionTableMap :: PERIOD_END , $ periodEnd [ 'max' ] , Criteria :: LESS_EQUAL ) ; $ useMinMax = true ; } if ( $ useMinMax ) { return $ this ; } if ( null === $ comparison ) { $ comparison = Criteria :: IN ; } } return $ this -> addUsingAlias ( DealerShedulesVersionTableMap :: PERIOD_END , $ periodEnd , $ comparison ) ; }
Filter the query on the period_end column

Example usage:
<code>
$query->filterByPeriodEnd('2011-03-14'); // WHERE period_end = '2011-03-14'
$query->filterByPeriodEnd('now'); // WHERE period_end = '2011-03-14'
$query->filterByPeriodEnd(array('max' => 'yesterday')); // WHERE period_end > '2011-03-13'
</code>

@param     mixed $periodEnd The value to use as filter.
Values can be integers (unix timestamps), DateTime objects, or strings.
Empty strings are treated as NULL.
Use scalar values for equality.
Use array values for in_array() equivalent.
Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return ChildDealerShedulesVersionQuery The current query, for fluid interface
Filter the query on the period_end column