be.ehealth.technicalconnector.config.domain
Class Duration

java.lang.Object
  extended by be.ehealth.technicalconnector.config.domain.Duration

public class Duration
extends Object

Domain object to model an amount of time.


Constructor Summary
Duration(long value, TimeUnit timeUnit)
           
 
Method Summary
 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 TECHNICAL 3.24.0-beta-4 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.