def __init__(self, date=dt.datetime.now(), location=Location(),<EOL>hebrew=True, candle_lighting_offset=<NUM_LIT>, havdalah_offset=<NUM_LIT:0>):
self.location = location<EOL>self.hebrew = hebrew<EOL>self.candle_lighting_offset = candle_lighting_offset<EOL>self.havdalah_offset = havdalah_offset<EOL>if isinstance(date, dt.datetime):<EOL><INDENT>self.date = date.date()<EOL>self.time = date.replace(tzinfo=location.timezone)<EOL><DEDENT>elif isinstance(date, dt.date):<EOL><INDENT>self.date = date<EOL>self.time = dt.datetime.now().replace(tzinfo=location.timezone)<EOL><DEDENT>else:<EOL><INDENT>raise TypeError<EOL><DEDENT>
Initialize the Zmanim object.