Class DurationAdapter

java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<String,E>
org.opentrafficsim.xml.bindings.ExpressionAdapter<S,E>
org.opentrafficsim.xml.bindings.ScalarAdapter<org.djunits.value.vdouble.scalar.Duration,DurationType>
org.opentrafficsim.xml.bindings.DurationAdapter

public class DurationAdapter extends ScalarAdapter<org.djunits.value.vdouble.scalar.Duration,DurationType>
DurationAdapter converts between the XML String for a Duration and the DJUnits Duration.

Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Wouter Schakel