ModemManager::NetworkTimezone
#include <modemtime.h>
Public Member Functions | |
NetworkTimezone () | |
NetworkTimezone (const NetworkTimezone &other) | |
~NetworkTimezone () | |
int | dstOffset () const |
int | leapSecond () const |
int | offset () const |
NetworkTimezone & | operator= (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]
Constructs an empty timezone data object.
Definition at line 32 of file modemtime.cpp.
◆ ~NetworkTimezone()
Destroys this NetworkTimezone object.
Definition at line 43 of file modemtime.cpp.
◆ NetworkTimezone() [2/2]
Constructs an NetworkTimezone object that is a copy of the object other
.
Definition at line 37 of file modemtime.cpp.
Member Function Documentation
◆ dstOffset()
Returns amount of offset that is due to DST (daylight saving time)
Definition at line 58 of file modemtime.cpp.
◆ leapSecond()
Returns number of leap seconds included in the network time.
Definition at line 68 of file modemtime.cpp.
◆ offset()
Returns offset of the timezone from UTC, in minutes (including DST, if applicable)
Definition at line 48 of file modemtime.cpp.
◆ operator=()
Makes a copy of the NetworkTimezone object other
.
Definition at line 78 of file modemtime.cpp.
◆ setDstOffset()
Sets amount of offset that is due to DST.
Definition at line 63 of file modemtime.cpp.
◆ setLeapSecond()
Sets number of leap seconds included in the network timezone.
Definition at line 73 of file modemtime.cpp.
◆ setOffset()
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:
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:49:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.