Represents a span of time between a start time and end time. More...
Header:#include <TimeExtent.h>
Since: Esri::ArcGISRuntime 100.3
Public Functions Detailed Description
To create a time extent which represents an instant in time set the start time and end time to the same time value. The TimeExtent is returned in the meta-data for time-aware services and layers. It is often used to create a time slider ranging from a start time to an end time.
Dates and times must be passed in UTC.
TimeExtent is immutable. Instead of changing the properties of an existing TimeExtent, create a new TimeExtent instance.
Relevant samples:
Default Constructor.
[explicit]
TimeExtent::TimeExtent(const QDateTime &timeInstant)
Creates a time extent with a time instant.
This will construct a time extent that represents a single point in time. In other words, its start and end times are equal are timeInstant.
TimeExtent::TimeExtent(const QDateTime &startTime, const QDateTime &endTime)Creates a time extent with the given start and end times.
Copy constructor from other TimeExtent.
[noexcept]
TimeExtent::TimeExtent(Esri::ArcGISRuntime::TimeExtent &&other)
Move constructor from other TimeExtent.
[noexcept]
TimeExtent::~TimeExtent()
Destructor.
QDateTime TimeExtent::endTime() constReturns the end time of this time extent.
bool TimeExtent::isEmpty() constReturns whether the TimeExtent is empty.
Returns true
if empty.
Returns the start time of this time extent.
[noexcept]
Esri::ArcGISRuntime::TimeExtent &TimeExtent::operator=(Esri::ArcGISRuntime::TimeExtent &&other)
Move operator from other TimeExtent.
Esri::ArcGISRuntime::TimeExtent &TimeExtent::operator=(const Esri::ArcGISRuntime::TimeExtent &other)Assignment operator from other TimeExtent.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4