I'd like to do some timezone calculation, using the following API:
NSTimeZone *some_time_zone = [NSTimeZone timeZoneWithAbbreviation:name];
however, I am not sure where to find the supported list of abbreviation
names. For example, what is the name
for the timezone of Siena Italy?
Reference to a specific time and zone would follow standard guidelines with the zone in parentheses: 4:42 p.m. (PST), 11:03 a.m. (MDT), 2:30 p.m. (CST), 10:00 P.M. (EST). AP on the other hand advises to capitalize the full name of each time zone: Pacific/Mountain/Central/Eastern Standard Time.
You can go from a . Net DateTime or DateTimeOffset with a TimeZoneInfo , to a NodaTime Instant and DateTimeZone . From there, you can get the abbreviation name.
Your LCL is separated or torn completely and may take eight to 12 weeks to heal. You'll use a hinged brace for several months.
NSLog(@"timezones: %@", [NSTimeZone abbreviationDictionary]);
timezones: { ADT = "America/Halifax"; AKDT = "America/Juneau"; AKST = "America/Juneau"; ART = "America/Argentina/Buenos_Aires"; AST = "America/Halifax"; BDT = "Asia/Dhaka"; BRST = "America/Sao_Paulo"; BRT = "America/Sao_Paulo"; BST = "Europe/London"; CAT = "Africa/Harare"; CDT = "America/Chicago"; CEST = "Europe/Paris"; CET = "Europe/Paris"; CLST = "America/Santiago"; CLT = "America/Santiago"; COT = "America/Bogota"; CST = "America/Chicago"; EAT = "Africa/Addis_Ababa"; EDT = "America/New_York"; EEST = "Europe/Istanbul"; EET = "Europe/Istanbul"; EST = "America/New_York"; GMT = GMT; GST = "Asia/Dubai"; HKT = "Asia/Hong_Kong"; HST = "Pacific/Honolulu"; ICT = "Asia/Bangkok"; IRST = "Asia/Tehran"; IST = "Asia/Calcutta"; JST = "Asia/Tokyo"; KST = "Asia/Seoul"; MDT = "America/Denver"; MSD = "Europe/Moscow"; MSK = "Europe/Moscow"; MST = "America/Denver"; NZDT = "Pacific/Auckland"; NZST = "Pacific/Auckland"; PDT = "America/Los_Angeles"; PET = "America/Lima"; PHT = "Asia/Manila"; PKT = "Asia/Karachi"; PST = "America/Los_Angeles"; SGT = "Asia/Singapore"; UTC = UTC; WAT = "Africa/Lagos"; WEST = "Europe/Lisbon"; WET = "Europe/Lisbon"; WIT = "Asia/Jakarta"; }
Try [NSTimeZone abbreviationDictionary]
or [NSTimeZone knownTimeZoneNames]
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With