Enum ServiceTimeInfo.TimeRelation
- java.lang.Object
-
- java.lang.Enum<ServiceTimeInfo.TimeRelation>
-
- com.esri.arcgisruntime.arcgisservices.ServiceTimeInfo.TimeRelation
-
- All Implemented Interfaces:
Serializable
,Comparable<ServiceTimeInfo.TimeRelation>
- Enclosing class:
- ServiceTimeInfo
public static enum ServiceTimeInfo.TimeRelation extends Enum<ServiceTimeInfo.TimeRelation>
Indicates how the start and end time of the time slider extent are processed.- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER_START_OVERLAPS_END
When start time is excluded and end time is included.OVERLAPS
When start and end time of the time slider are included.OVERLAPS_START_WITHIN_END
When start time is included and end time is excluded.UNKNOWN
Unknown time relation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceTimeInfo.TimeRelation
valueOf(String name)
Returns the enum constant of this type with the specified name.static ServiceTimeInfo.TimeRelation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVERLAPS
public static final ServiceTimeInfo.TimeRelation OVERLAPS
When start and end time of the time slider are included.
-
AFTER_START_OVERLAPS_END
public static final ServiceTimeInfo.TimeRelation AFTER_START_OVERLAPS_END
When start time is excluded and end time is included.
-
OVERLAPS_START_WITHIN_END
public static final ServiceTimeInfo.TimeRelation OVERLAPS_START_WITHIN_END
When start time is included and end time is excluded.
-
UNKNOWN
public static final ServiceTimeInfo.TimeRelation UNKNOWN
Unknown time relation.
-
-
Method Detail
-
values
public static ServiceTimeInfo.TimeRelation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServiceTimeInfo.TimeRelation c : ServiceTimeInfo.TimeRelation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceTimeInfo.TimeRelation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-