Class DriveRestRegulation

java.lang.Object
com.here.sdk.mapdata.DriveRestRegulation

public final class DriveRestRegulation extends Object

Drive-rest regulation defining mandatory rest requirements for commercial vehicle drivers.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • Field Details

    • maxDailyDriveTimeInMinutes

      @Nullable public Duration maxDailyDriveTimeInMinutes

      Maximum continuous or accumulated daily driving time in minutes before a rest is required.

    • dailyRestMinInMinutes

      @Nullable public Duration dailyRestMinInMinutes

      Minimum daily rest duration in minutes that must be taken.

    • midDriveRestInMinutes

      @Nullable public Duration midDriveRestInMinutes

      Maximum driving time in minutes allowed before a mid-drive rest must be taken.

    • midDriveRestMinInMinutes

      @Nullable public Duration midDriveRestMinInMinutes

      Minimum duration in minutes of the required mid-drive rest.

  • Constructor Details

    • DriveRestRegulation

      public DriveRestRegulation()

      Creates a new instance with default values.

  • Method Details