; // String[], Boolean);

To get a list of time zones for some country, use'US');

By default this method returns zone names sorted alphabetically:

["America/Adak", "America/Anchorage", ... "Pacific/Honolulu"]

To get also offsets, pass true as 2nd parameter:'CN', true);

it returns array of objects with name and offset:

   { name: "Asia/Shanghai", offset: -480 },
   { name: "Asia/Urumqi", offset: -360 }

It's useful if you need to sort time zones by offset.

All country codes can be retrieved using method