code: public static long getNextIntervalStart(long time, int intervalInMinutes, int offsetInMinutes) {
  		long interval = MINUTE_IN_MS * intervalInMinutes;
  		return getPreviousIntervalStart(time, intervalInMinutes, offsetInMinutes) + interval;
  	}
docs: Determines the exact time the next interval starts based on a time within the current interval.
  @param time time in millis
  @param intervalInMinutes
  @param offsetInMinutes
  
  @return the exact time in milliseconds the interval begins local time