get_utc_offset_of_utc_time


Description:

[ Version ( since = "1.0" ) ]
public int get_utc_offset_of_utc_time (Time tt, out int is_daylight)

Calculates the UTC offset of a given UTC time in the given timezone.

It is the number of seconds to add to UTC to get local time. The is_daylight flag is set to 1 if the time is in daylight-savings time.

Parameters:

this

The given Timezone

tt

The local time

is_daylight

Whether it is day light, can be null

Returns:

UTC offset of the this




2022 vala-language.org