Skip To Content ArcGIS for Developers Sign In Dashboard

TimeReference Class


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

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

Public Functions

TimeReference(const TimeReference &other)
TimeReference(TimeReference &&other)
bool isRespectsDaylightSavings() const
QString timeZone() const
TimeReference &operator=(const TimeReference &other)
TimeReference &operator=(TimeReference &&other)

Detailed Description

Time zone information for a time-aware layer.

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


Default constructor.

TimeReference::TimeReference(const TimeReference &other)

Copy constructor from other TimeReference.

TimeReference::TimeReference(TimeReference &&other)

Move constructor from other TimeReference.



bool TimeReference::isRespectsDaylightSavings() const

Returns whether the service respects daylight saving time.

QString TimeReference::timeZone() const

Returns the time zone.

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

Assignment operator from other TimeReference.

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

Move operator from other TimeReference.

Feedback on this topic?