Home > hls.js > DateRange > (constructor)
DateRange.(constructor)
Constructs a new instance of the DateRange class
Signature:
constructor(dateRangeAttr: AttrList, dateRangeWithSameId?: DateRange);Parameters
| Parameter | Type | Description |
|---|---|---|
| dateRangeAttr | AttrList | |
| dateRangeWithSameId | DateRange | (Optional) |