parseDpPeriodTime(dpValue: string)

Requires:
@ray-js/lock-sdk≥1.0.0

Description

Parse the raw value of the time‑range DP into start and end minutes

Parameters

ParameterTypeRequiredDescription
dpValuestringYesRaw DP string

Return Value

Type: ParseDpPeriodTimeResult
Start and end minutes

Examples

import { parseDpPeriodTime } from '@ray-js/lock-sdk';
const { start, end } = parseDpPeriodTime(dpValue);