1 19 20 package jxl.write.biff; 21 22 import common.Assert; 23 24 import jxl.biff.Type; 25 import jxl.biff.IntegerHelper; 26 import jxl.biff.WritableRecordData; 27 28 32 class NineteenFourRecord extends WritableRecordData 33 { 34 37 private boolean nineteenFourDate; 38 39 42 private byte[] data; 43 44 49 public NineteenFourRecord(boolean oldDate) 50 { 51 super(Type.NINETEENFOUR); 52 53 nineteenFourDate = oldDate; 54 data = new byte[2]; 55 56 if (nineteenFourDate) 57 { 58 IntegerHelper.getTwoBytes(1, data, 0); 59 } 60 } 61 62 66 public byte[] getData() 67 { 68 return data; 69 } 70 } 71 | Popular Tags |