Skip To Content ArcGIS for Developers Sign In Dashboard

Obsolete Members for ServiceTimeInfo

The following members of class ServiceTimeInfo are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(obsolete) int defaultTimeInterval() const
(obsolete) TimeUnit defaultTimeIntervalUnit() const
(obsolete) int defaultTimeWindow() const

Member Function Documentation

int ServiceTimeInfo::defaultTimeInterval() const

Returns the default interval that will be used when stepping through the time-aware layer's time extent.

This function is deprecated in 100.3. Use defaultInterval instead.

TimeUnit ServiceTimeInfo::defaultTimeIntervalUnit() const

Returns the type of time unit (such as days) used to specify defaultTimeInterval.

This function is deprecated in 100.3. Use defaultInterval instead.

int ServiceTimeInfo::defaultTimeWindow() const

Returns the default time window for data returned from this service.

This value is expressed in the same units as the time interval for the service.

For example, if your layer contains data representing hurricane paths over a 10-year period but the service default is to show paths of all hurricanes that occurred within a one-year span, the default time window would be one year, but expressed in defaultTimeIntervalUnits.

This function is deprecated in 100.2.0. A replacement will be provided in an upcoming release.

Feedback on this topic?