AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# TimeInterval.SetUnit Method

Sets the unit of the time interval.

public void SetUnit(
TimeIntervalUnit unit
);

#### Parameters

unit
  The unit of the time interval.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationtException | Current instance is a `TimeInterval.INFINITE`.

#### See Also

TimeInterval Class | Plumtree.Remote.PRC Namespace