ArcGIS Developers

GeoprocessingDate Class

class Esri::ArcGISRuntime::GeoprocessingDate

A date input or output parameter. More...

Header: #include <GeoprocessingDate>
Since: Esri::ArcGISRuntime 100.0
Inherits: Esri::ArcGISRuntime::GeoprocessingParameter

This class was introduced in Esri::ArcGISRuntime 100.0.

Public Functions

GeoprocessingDate(const QDateTime &value, QObject *parent = nullptr)
GeoprocessingDate(QObject *parent = nullptr)
virtual ~GeoprocessingDate() override
void setValue(const QDateTime &value)
QDateTime value() const

Detailed Description

Corresponds to GPDate parameter type on the service.

Member Function Documentation

GeoprocessingDate::GeoprocessingDate(const QDateTime &value, QObject *parent = nullptr)

Constructor that accepts an initial datetime (value) and an optional parent object.

GeoprocessingDate::GeoprocessingDate(QObject *parent = nullptr)

Constructor that accepts an optional parent object.

For objects created with this constructor, the original value is the start of the UNIX epoch.

[override virtual] GeoprocessingDate::~GeoprocessingDate()


void GeoprocessingDate::setValue(const QDateTime &value)

Sets the datetime value.

See also value().

QDateTime GeoprocessingDate::value() const

Returns the datetime value.

See also setValue().

Feedback on this topic?