code: function(dbaseFile, buffer, recordNumber) {
              if (!dbaseFile) {
                  throw new ArgumentError(
                      Logger.logMessage(Logger.LEVEL_SEVERE, "DBaseRecord", "constructor", "missingAttributeName")
                  );
              }
  
              if (!buffer) {
                  throw new ArgumentError(
                      Logger.logMessage(Logger.LEVEL_SEVERE, "DBaseRecord", "constructor", "missingBuffer")
                  );
              }
  
              /**
               * Indicates whether the record was deleted.
               * @type {Boolean}
               */
              this.deleted = false;
  
              /**
               * Indicates the current record number.
               * @type {Number}
               */
              this.recordNumber = recordNumber;
  
              //DateFormat dateformat = new SimpleDateFormat("yyyyMMdd");
  
              this.values = null;
  
              this.readFromBuffer(dbaseFile, buffer, recordNumber);
          }
docs: Create a DBase record. Applications typically do not call this constructor. It is called by
  {@link DBaseFile} as attribute records are read.
  @param {DBaseFile} dbaseFile A dBase attribute file.
  @param {ByteBuffer} buffer A buffer descriptor from which to parse a record.
  @param {Number} recordNumber The number of the record to parse.
  @returns {DBaseRecord} The DBase record that was parsed.
  @constructor