Class TimeRestriction
- Last UpdatedJun 10, 2025
- 1 minute read
Package com.here.sdk.transport
- java.lang.Object
-
- com.here.sdk.transport.TimeRestriction
-
public final class TimeRestriction extends java.lang.Object
Represents restriction based on time.
Note: This is a beta release of this feature. Related APIs may change for new releases without a deprecation process.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TimeRestriction.Category
Category of time restriction.
-
Field Summary
Fields Modifier and Type Field Description java.util.List<TransportType>
applicability
Specifies to which transportation types the time rules apply.TimeRestriction.Category
category
The category of the time restriction.TimeRule
timeRule
Time rule in TimeDomain format, which is part of the GDF specification.
-
Constructor Summary
Constructors Constructor Description TimeRestriction()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
Field Detail
-
category
@NonNull public TimeRestriction.Category category
The category of the time restriction.
-
applicability
@NonNull public java.util.List<TransportType> applicability
Specifies to which transportation types the time rules apply.
-
timeRule
@Nullable public TimeRule timeRule
Time rule in TimeDomain format, which is part of the GDF specification.
-
-