TimeZone.getAbbreviation

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.

class TimeZone
string
getAbbreviation
()

Parameters

interval int

an interval within the timezone

Return Value

Type: string

the time zone abbreviation, which belongs to @tz

Meta

Since

2.26