def get_country_time_zones(country_code=None):
 if (country_code is None):
  return _get_sorted_time_zone_list(common_timezones)
 if (country_code.upper() in set(countries.alt_codes)):
  return _get_sorted_time_zone_list(country_timezones(country_code))
 raise CountryCodeError

def get_country_time_zones ( country_code = None ) : if ( country_code is None ) : return _get_sorted_time_zone_list ( common_timezones ) if ( country_code . upper ( ) in set ( countries . alt_codes ) ) : return _get_sorted_time_zone_list ( country_timezones ( country_code ) ) raise CountryCodeError
returns a sorted list of time zones commonly used in given country or list of all time zones .