Class TimeRestriction

java.lang.Object
com.here.sdk.transport.TimeRestriction

public final class TimeRestriction extends 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.

  • Field Details

    • category

      @NonNull public TimeRestriction.Category category

      The category of the time restriction.

    • applicability

      @NonNull public 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.

  • Constructor Details

    • TimeRestriction

      public TimeRestriction()

      Creates a new instance.

  • Method Details