Make get_date_clause method 'private'
Make get_weekly_date_cluase 'private'
Clean up python code.