GregorianCalendar start = new GregorianCalendar(TimeZone.getTimeZone("GMT")); start.set(Calendar.HOUR_OF_DAY, startHr); start.set(Calendar.MINUTE, startMin);  GregorianCalendar end = (GregorianCalendar)start.clone(); end.add(Calendar.HOUR_OF_DAY, intervalLength);   if (logger.isDebugEnabled()) { logger.debug(">>EventProbabilityInterval init(): creating interval with start time hr= "+start.get(Calendar.HOUR_OF_DAY)+":"+ start.get(Calendar.MINUTE)+ ">>End time= "+end.get(Calendar.HOUR_OF_DAY)+":"+end.get(Calendar.MINUTE) + ", IntervalLength="+intervalLength+" -- minuteProbOfNotOccuring="+minuteProbOfNotOccuring); } clockIntervals = ClockInterval.generateIntervals(start, end, intervalLength);
    public EventProbabilityInterval(float probability) {        this.prob = probability;                logger = Logging.getLogger(this.getClass().getName());            }