Represents a span of time between a start time and end time. More...
|  Header |  #include <Time | 
|  Since |  Esri | 
This class was introduced in Esri::ArcGISRuntime 100.3.
Public Functions
| Time | |
| Time | |
| Time | |
| Time | |
| Time | |
|  Esri | operator=( | 
|  Esri | operator=(const Esri | 
| ~ | |
|  QDate | end | 
| bool | is | 
|  QDate | start | 
Detailed Description
A TimeExtent can also represent an instant in time, where the time instant is both the start and end time of the extent.
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.
Member Function Documentation
TimeExtent::TimeExtent (Esri::ArcGISRuntime::TimeExtent     &&other)  
Move constructor from other TimeExtent.
TimeExtent::TimeExtent (const Esri::ArcGISRuntime::TimeExtent     &other)  
Copy constructor from other TimeExtent.
TimeExtent::TimeExtent (const QDateTime  &startTime , const QDateTime  &endTime )  
Constructs a TimeExtent with a startTime and an endTime.
TimeExtent::TimeExtent (const QDateTime  &timeInstant )  
Constructs a TimeExtent with a timeInstant.
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 ()  
Default Constructor.
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.
TimeExtent::~TimeExtent  ()  
Destructor.
QDateTime  TimeExtent::endTime () const  
Returns the end time of this time extent.
bool TimeExtent::isEmpty () const  
Returns whether the TimeExtent is empty.
Returns true if empty.
QDateTime  TimeExtent::startTime () const  
Returns the start time of this time extent.