The cellDuration property (number) specifies the calendar cell duration in minutes. Accepts values from 1 to 60. It's recommended to use values that divide 60 without a remainder.
30
dp.cellDuration = 15;