export default function transformSegmentTime(value: SegmentTimeOption) {
    if (typeof value === 'number') return value;
    const [operand, factor] = matchSegmentTime(value);
    return getDuration(operand, factor);
}