TimeReference Class

  • TimeReference
  • class Esri::ArcGISRuntime::TimeReference

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

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

    Public Functions

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

    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()

    Default constructor.

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

    Copy constructor from other TimeReference.

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

    Move constructor 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.

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

    Assignment operator from other TimeReference.

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

    Move operator from other TimeReference.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close