GLib.TimeZone.prototype.get_abbreviation
function get_abbreviation(interval: Number(gint)): String { // Gjs wrapper for g_time_zone_get_abbreviation() }
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.
Since 2.26
- interval
an interval within the timezone
- Returns
the time zone abbreviation, which belongs to tz