code: private Date bytesToDate(byte[] bytes) {
          double doubleDays = bytesToDouble(bytes);
          return Double.isNaN(doubleDays) ? null : new Date((long) ((doubleDays - START_DATES_DAYS_DIFFERENCE)
                  * SECONDS_IN_MINUTE * MINUTES_IN_HOUR * HOURS_IN_DAY * MILLISECONDS_IN_SECONDS));
      }
docs: The function to convert an array of bytes that stores the number of days elapsed from 01/01/1960 into a variable
  of the {@link Date} type. {@link SasFileConstants#DATE_FORMAT_STRINGS} stores the formats of columns that contain
  such data.
  
  @param bytes the array of bytes that stores the number of days from 01/01/1960.
  @return a variable of the {@link Date} type.