code: private static DateTime getDate(DateTime dateInstance, int offsetDays, int offsetMinutes) {
          return dateInstance.minusDays(offsetDays).minusMinutes(offsetMinutes);
      }
docs: Date utility
  
  @param dateInstance
  @param offsetDays
  @param offsetMinutes
  @return