Analysis of Demand under Time and Quantity Restriction Frames