code: public static final Date getFinishDate(byte[] data, int offset)
     {
        Date result;
        long days = getShort(data, offset);
  
        if (days == 0x8000)
        {
           result = null;
        }
        else
        {
           result = DateHelper.getDateFromLong(EPOCH + ((days - 1) * DateHelper.MS_PER_DAY));
        }
  
        return (result);
     }
docs: Retrieve a finish date.
  
  @param data byte array
  @param offset offset into byte array
  @return finish date