TimeZone.offset
Description:
[
Version ( since =
"2.58" ) ]
public TimeZone.offset (
int32 seconds)
Creates a TimeZone corresponding to the given constant offset from UTC, in seconds.
This is equivalent to calling TimeZone with a string in the form `[
+|-]hh[GTimeZone:mm
[GTimeZone:ss
s]]`.
Parameters:
seconds |
offset to UTC, in seconds
|
Returns:
a timezone at the given offset from UTC
|