Where an obligation does not fix the time for its performance, an offer of performance may be made at any time before the debtor, upon a reasonable demand, has refused to perform.
(Enacted 1872.)