Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# TimeInterval.SetUnit Method

Sets the unit of the interval.

public void SetUnit(
TimeIntervalUnit unit
);

#### Parameters

unit
  Unit of the time interval.

#### Exceptions

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

#### See Also

TimeInterval Class | Plumtree.Remote.PRC Namespace