ModemManager.NetworkTimezone

g GObject.Object GObject.Object ModemManager.NetworkTimezone ModemManager.NetworkTimezone GObject.Object->ModemManager.NetworkTimezone

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_dst_offset ()

get_leap_seconds ()

get_offset ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class ModemManager.NetworkTimezone(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

ModemManager.NetworkTimezoneClass

The ModemManager.NetworkTimezone structure contains private data and should only be accessed using the provided API.

get_dst_offset()
Returns:

the offset, or %MM_NETWORK_TIMEZONE_OFFSET_UNKNOWN if unknown.

Return type:

int

Gets the timezone offset due to daylight saving time (in minutes) reported by the network.

New in version 1.0.

get_leap_seconds()
Returns:

the number of leap seconds, or %MM_NETWORK_TIMEZONE_LEAP_SECONDS_UNKNOWN if unknown.

Return type:

int

Gets the number of leap seconds (TAI-UTC), as reported by the network.

New in version 1.0.

get_offset()
Returns:

the offset, or %MM_NETWORK_TIMEZONE_OFFSET_UNKNOWN if unknown.

Return type:

int

Gets the timezone offset (in minutes) reported by the network.

New in version 1.0.