Pages
API Documentation
On this page

ModemManager::NetworkTimezone Class

This class represents the timezone data provided by the network. More...

  • Header: #include <ModemManagerQt/ModemTime>
  • CMake: find_package(KF6 REQUIRED COMPONENTS ModemManagerQt)
    target_link_libraries(mytarget PRIVATE KF6::ModemManagerQt)

List of all members, including inherited members

Public Functions

Detailed Description

Member Function Documentation

NetworkTimezone::NetworkTimezone()

Constructs an empty timezone data object

NetworkTimezone::NetworkTimezone(const ModemManager::NetworkTimezone &other)

Constructs an NetworkTimezone object that is a copy of the object other.

[noexcept] NetworkTimezone::~NetworkTimezone()

Destroys this NetworkTimezone object.

int NetworkTimezone::dstOffset() const

Returns amount of offset that is due to DST (daylight saving time)

See also setDstOffset()

int NetworkTimezone::leapSecond() const

Returns number of leap seconds included in the network time

See also setLeapSecond()

int NetworkTimezone::offset() const

Returns offset of the timezone from UTC, in minutes (including DST, if applicable)

See also setOffset()

void NetworkTimezone::setDstOffset(int dstOffset)

Sets amount of offset that is due to DST

See also dstOffset()

void NetworkTimezone::setLeapSecond(int leapSecond)

Sets number of leap seconds included in the network timezone

See also leapSecond()

void NetworkTimezone::setOffset(int offset)

Sets offset of the timezone from UTC

See also offset()

ModemManager::NetworkTimezone &NetworkTimezone::operator=(const ModemManager::NetworkTimezone &other)

Makes a copy of the NetworkTimezone object other.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.