TimeZone.getAbbreviation

string getAbbreviation(int interval)

Determines the time zone abbreviation to be used during a particular interval of time in the time zone tz.

For example, in Toronto this is currently "EST" during the winter months and "EDT" during the summer months when daylight savings time is in effect.

Parameters

intervalan interval within the timezone

Returns

the time zone abbreviation, which belongs to tz