date.replace accepts int/long
made time.replace consistent with datetime.replace and date.replace

time.replace with float/double argument raises exception consistent with cpython