Constructor
new UptimeDefinition(uptimeDefinitionString)
Creates a new uptime definition
Parameters:
| Name | Type | Description |
|---|---|---|
uptimeDefinitionString |
string | The uptime definition string (e.g. @1+15:00-17:00) |
- Source:
Converts an uptime definition into two array. One for start timestamps and one for stop timestamps
Creates a new uptime definition
| Name | Type | Description |
|---|---|---|
uptimeDefinitionString |
string | The uptime definition string (e.g. @1+15:00-17:00) |