get_time_zone_offset


Description:

public float get_time_zone_offset ()

Retrieves the offset from UTC in hours that the timezone specified by this represents.

Timezones ahead (to the east) of UTC have positive values, timezones before (to the west) of UTC have negative values. If this represents UTC time, then the offset is zero.

Parameters:

this

a DateTime

Returns:

the offset from UTC in hours, or G_MAXFLOAT if none is set.