ZoneId SHORT_IDS example
Description
ZoneId SHORT_IDS
returns A map of zone overrides to enable the short time-zone names to be used.
Syntax
SHORT_IDS
has the following syntax.
public static final Map<String,String> SHORT_IDS
Example
The following example shows how to use SHORT_IDS
.
import java.time.ZoneId;
import java.util.Map;
/*w w w . ja v a 2 s . c o m*/
public class Main {
public static void main(String[] args) {
Map<String,String> z = ZoneId.SHORT_IDS;
System.out.println(z);
}
}
The code above generates the following result.