I am trying to get the UTC offset from a timezone (Asia/Aden) using java.time.
See errors below:
scala> val a = ZoneId.of("Asia/Aden")
a: java.time.ZoneId = Asia/Aden
scala> ZoneOffset.of(a)
<console>:13: error: type mismatch;
 found   : java.time.ZoneId
 required: String
              ZoneOffset.of(a)
                            ^
scala> val as = a.getId
as: String = Asia/Aden
scala> ZoneOffset.of(as)
java.time.DateTimeException: Invalid ID for ZoneOffset, non numeric characters found: Asia/Aden
  at java.time.ZoneOffset.parseNumber(ZoneOffset.java:269)
  at java.time.ZoneOffset.of(ZoneOffset.java:236)
  ... 33 elided
				
                        
Wikipedia: