DurationUnitType.java
- package org.opentrafficsim.xml.bindings.types;
- import org.djunits.unit.DurationUnit;
- /**
- * Expression type with DurationUnit value.
- * <p>
- * Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
- * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
- * </p>
- * @author <a href="https://github.com/wjschakel">Wouter Schakel</a>
- */
- public class DurationUnitType extends ExpressionType<DurationUnit>
- {
- /**
- * Constructor with value.
- * @param value DurationUnit; value, may be {@code null}.
- */
- public DurationUnitType(final DurationUnit value)
- {
- super(value);
- }
- /**
- * Constructor with expression.
- * @param expression String; expression.
- */
- public DurationUnitType(final String expression)
- {
- super(expression);
- }
- }