TimeZone(abbreviation: "GMT+1") ?? TimeZone.current
If you want to have a non optional and assert before TimeZone.current
fallback is
used after ?? what syntax would I use in swift?
something like this
TimeZone(abbreviation: "GMT+1") ?? (assertionFailure("what weird runtime have you've got????"), TimeZone.current)
(which obviously does not compile)