public void setRepeat ( int count , Duration pauseDuration ) { Repeat repeat = new Repeat ( count ) ; DurationProperty duration = new DurationProperty ( pauseDuration ) ; setRepeat ( repeat ) ; setDuration ( duration ) ; }
Sets the repetition information for the alarm .