Skip To Content ArcGIS for Developers Sign In Dashboard

TimeReference Class

class Esri::ArcGISRuntime::TimeReference

Time zone information for a time-aware layer. More...

Header: #include <TimeReference>
Since: Esri::ArcGISRuntime 100.0

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

TimeReference(Esri::ArcGISRuntime::TimeReference &&other)
TimeReference(const Esri::ArcGISRuntime::TimeReference &other)
TimeReference()
Esri::ArcGISRuntime::TimeReference &operator=(Esri::ArcGISRuntime::TimeReference &&other)
Esri::ArcGISRuntime::TimeReference &operator=(const Esri::ArcGISRuntime::TimeReference &other)
~TimeReference()
bool isRespectsDaylightSavings() const
QString timeZone() const

Detailed Description

Specifies the time zone and whether daylight saving time is respected.

This information is for reference only. All datetimes for time-aware layers are in UTC.

Member Function Documentation

TimeReference::TimeReference(Esri::ArcGISRuntime::TimeReference &&other)

Move constructor from other TimeReference.

TimeReference::TimeReference(const Esri::ArcGISRuntime::TimeReference &other)

Copy constructor from other TimeReference.

TimeReference::TimeReference()

Default constructor.

Esri::ArcGISRuntime::TimeReference &TimeReference::operator=(Esri::ArcGISRuntime::TimeReference &&other)

Move operator from other TimeReference.

Esri::ArcGISRuntime::TimeReference &TimeReference::operator=(const Esri::ArcGISRuntime::TimeReference &other)

Assignment operator from other TimeReference.

TimeReference::~TimeReference()

Destructor.

bool TimeReference::isRespectsDaylightSavings() const

Returns whether the service respects daylight saving time.

QString TimeReference::timeZone() const

Returns the time zone.


Feedback on this topic?