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 duration, TimeUnit sourceUnit)
           
 
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 duration,
                TimeUnit sourceUnit)
Method Detail

convert

public long convert(TimeUnit targetUnit)



Connector Packaging PERSDIETICIAN 3.11.1 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.