/** Function to get standardfilter startdate and enddate for the given type * @ param $type : Type String * returns the $datevalue Array in the given format * $datevalue = Array(0=>$startdate,1=>$enddate) */ function getStandarFiltersStartAndEndDate($type) { return DateTimeRange::getDateRangeByType($type); }
/** * Function to get the date values for the given type of Standard filter * @param <String> $type * @return <Array> - 2 date values representing the range for the given type of Standard filter */ protected static function getDateForStdFilterBytype($type) { return DateTimeRange::getDateRangeByType($type); }
/** to get the date value for the given type * @param $type :: type string * @returns $datevalue array in the following format * $datevalue = Array(0=>$startdate,1=>$enddate) */ function getDateforStdFilterBytype($type) { return DateTimeRange::getDateRangeByType($type); }