When i perform :
TimeZone.setDefault(TimeZone.getTimeZone("EDT"));
or
TimeZone.setDefault(TimeZone.getTimeZone("EST"));
and get the time zone :
System.out.println(TimeZone.getDefault());
I get time in GMT. Or if you can tell me what is the full name i can pass instead of the abbreviated names like EST and EDT. Full name like "AMerica/New-York".
I want to display the EST time.