How To filter report data between two dates from class

I created one class that extends runbase

i want to get selected customer transactions inbetween fromdate and todate that converted into pdf

Through args and reportrun i got total report and even i select customer ,fromdate and todate in dialog i cant filter the data

How can i filter report data from class

Thanks & Regards

Nag