Parameters
- value
- The value of time.
- unit
- The unit of time value.
Exception | Description |
---|---|
EPLAN.Harness.API.Exceptions.WrongUnitException | Thrown when the unit is not valid for this property. |
TimeProperty timeProperty = new TimeProperty(42.0, Unit.Second);