be.ehealth.technicalconnector.config.domain

## Class Duration

- java.lang.Object
- - be.ehealth.technicalconnector.config.domain.Duration

-     public class Duration
      extends Object

  Domain object to model an amount of time.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Duration(long value, TimeUnit timeUnit)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `convert(TimeUnit targetUnit)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Duration

          public Duration(long value,
                          TimeUnit timeUnit)

  - ### Method Detail

    - #### convert

          public long convert(TimeUnit targetUnit)

Connector Packaging generic 4.9.5 API
Copyright © {inceptionYear}-2026 eHealth. All Rights Reserved.