Defines a time offset or interval for time related classes. More...
Header | #include <Time |
Since | Esri |
Public Functions
Time | |
Time | |
Time | |
Time | |
~ | |
double | duration() const |
bool | is |
Esri | unit() const |
Esri | operator=( |
Esri | operator=(const Esri |
Detailed Description
TimeValue is immutable. Instead of changing the properties of an existing TimeValue, create a new TimeValue instance.
Member Function Documentation
TimeValue::TimeValue ()
Default Constructor.
TimeValue::TimeValue (double duration, Esri::ArcGISRuntime::TimeUnit unit)
Constructs a TimeValue with a time duration and a unit of time.
TimeValue::TimeValue (const Esri::ArcGISRuntime::TimeValue &other)
Copy constructor from other TimeValue.
[noexcept]
TimeValue::TimeValue (Esri::ArcGISRuntime::TimeValue &&other)
Move constructor from other TimeValue.
[noexcept]
TimeValue::~TimeValue ()
Default Destructor.
double TimeValue::duration() const
Returns the duration of the time value.
bool TimeValue::isEmpty () const
Returns whether the TimeValue is empty.
Esri::ArcGISRuntime::TimeUnit TimeValue::unit() const
Returns the unit of the time value.
[noexcept]
Esri::ArcGISRuntime::TimeValue &TimeValue::operator=(Esri::ArcGISRuntime::TimeValue &&other)
Move operator from other TimeValue.
Esri::ArcGISRuntime::TimeValue &TimeValue::operator=(const Esri::ArcGISRuntime::TimeValue &other)
Assignment operator from other TimeValue.