# IntervalExtensionMethods class

Namespace: [Grasshopper2.Extensions](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.extensions.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public static class IntervalExtensionMethods
```

Extension methods for Rhino.Geometry.Interval

## Methods

- [Cut](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.intervalextensionmethods/cut.md): (static) Cut holes into an interval.
- [DateTimeToSeconds](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.intervalextensionmethods/datetimetoseconds.md): (static) Convert a DateTime instance into an double used in Interval timespans.
- [Scale](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.intervalextensionmethods/scale.md): (static) Scale an interval.
- [SecondsToDateTime](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.intervalextensionmethods/secondstodatetime.md): (static) Convert a second count used in Interval timespans into a DateTime value.
- [Shrink](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.intervalextensionmethods/shrink.md): (static) Shrink an interval by moving the extremes inwards.
- [Split](https://developer.rhino3d.com/api/gh2/type/grasshopper2.extensions.intervalextensionmethods/split.md): (static) Split an interval into multiple intervals at given parameters.
