[BDSDK-36] defined API for more intuitive interval definition