newOffset

fun newOffset(seconds: Int): TimeZone

Creates a #GTimeZone corresponding to the given constant offset from UTC, in seconds.

This is equivalent to calling g_time_zone_new() with a string in the form [+|-]hh[:mm[:ss]].

Return

a timezone at the given offset from UTC

Since

2.58

Parameters

seconds

offset to UTC, in seconds