ModemManager::NetworkTimezone

Search for usage in LXR

ModemManager::NetworkTimezone Class Reference

#include <modemtime.h>

Public Member Functions

 NetworkTimezone ()
 
 NetworkTimezone (const NetworkTimezone &other)
 
 ~NetworkTimezone ()
 
int dstOffset () const
 
int leapSecond () const
 
int offset () const
 
NetworkTimezoneoperator= (const NetworkTimezone &other)
 
void setDstOffset (int dstOffset)
 
void setLeapSecond (int leapSecond)
 
void setOffset (int offset)
 

Detailed Description

This class represents the timezone data provided by the network.

Definition at line 26 of file modemtime.h.

Constructor & Destructor Documentation

◆ NetworkTimezone() [1/2]

ModemManager::NetworkTimezone::NetworkTimezone ( )

Constructs an empty timezone data object.

Definition at line 32 of file modemtime.cpp.

◆ ~NetworkTimezone()

ModemManager::NetworkTimezone::~NetworkTimezone ( )

Destroys this NetworkTimezone object.

Definition at line 43 of file modemtime.cpp.

◆ NetworkTimezone() [2/2]

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

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

Definition at line 37 of file modemtime.cpp.

Member Function Documentation

◆ dstOffset()

int ModemManager::NetworkTimezone::dstOffset ( ) const

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

Definition at line 58 of file modemtime.cpp.

◆ leapSecond()

int ModemManager::NetworkTimezone::leapSecond ( ) const

Returns number of leap seconds included in the network time.

Definition at line 68 of file modemtime.cpp.

◆ offset()

int ModemManager::NetworkTimezone::offset ( ) const

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

Definition at line 48 of file modemtime.cpp.

◆ operator=()

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

Makes a copy of the NetworkTimezone object other.

Definition at line 78 of file modemtime.cpp.

◆ setDstOffset()

void ModemManager::NetworkTimezone::setDstOffset ( int dstOffset)

Sets amount of offset that is due to DST.

Definition at line 63 of file modemtime.cpp.

◆ setLeapSecond()

void ModemManager::NetworkTimezone::setLeapSecond ( int leapSecond)

Sets number of leap seconds included in the network timezone.

Definition at line 73 of file modemtime.cpp.

◆ setOffset()

void ModemManager::NetworkTimezone::setOffset ( int offset)

Sets offset of the timezone from UTC.

Definition at line 53 of file modemtime.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:59:51 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.