@Override protected void readRow(int uniqueID, byte[] data)
   {
      if (data[0] != (byte) 0xFF)
      {
         Map<String, Object> map = new HashMap<String, Object>();
         map.put("UNIQUE_ID", Integer.valueOf(uniqueID));

         map.put("NAME", PEPUtility.getString(data, 1, 8));
         map.put("START", PEPUtility.getStartDate(data, 9));
         map.put("BASE_CALENDAR_ID", Integer.valueOf(PEPUtility.getShort(data, 11)));
         map.put("FIRST_CALENDAR_EXCEPTION_ID", Integer.valueOf(PEPUtility.getShort(data, 13)));
         map.put("SUNDAY", Boolean.valueOf((data[17] & 0x40) == 0));
         map.put("MONDAY", Boolean.valueOf((data[17] & 0x02) == 0));
         map.put("TUESDAY", Boolean.valueOf((data[17] & 0x04) == 0));
         map.put("WEDNESDAY", Boolean.valueOf((data[17] & 0x08) == 0));
         map.put("THURSDAY", Boolean.valueOf((data[17] & 0x10) == 0));
         map.put("FRIDAY", Boolean.valueOf((data[17] & 0x20) == 0));
         map.put("SATURDAY", Boolean.valueOf((data[17] & 0x01) == 0));

         addRow(uniqueID, map);
      }
   }
@ Override protected void readRow ( int uniqueID , byte [ ] data ) { if ( data [ 0 ] != ( byte ) 0xFF ) { Map < String , Object > map = new HashMap < String , Object > ( ) ; map . put ( "UNIQUE_ID" , Integer . valueOf ( uniqueID ) ) ; map . put ( "NAME" , PEPUtility . getString ( data , 1 , 8 ) ) ; map . put ( "START" , PEPUtility . getStartDate ( data , 9 ) ) ; map . put ( "BASE_CALENDAR_ID" , Integer . valueOf ( PEPUtility . getShort ( data , 11 ) ) ) ; map . put ( "FIRST_CALENDAR_EXCEPTION_ID" , Integer . valueOf ( PEPUtility . getShort ( data , 13 ) ) ) ; map . put ( "SUNDAY" , Boolean . valueOf ( ( data [ 17 ] & 0x40 ) == 0 ) ) ; map . put ( "MONDAY" , Boolean . valueOf ( ( data [ 17 ] & 0x02 ) == 0 ) ) ; map . put ( "TUESDAY" , Boolean . valueOf ( ( data [ 17 ] & 0x04 ) == 0 ) ) ; map . put ( "WEDNESDAY" , Boolean . valueOf ( ( data [ 17 ] & 0x08 ) == 0 ) ) ; map . put ( "THURSDAY" , Boolean . valueOf ( ( data [ 17 ] & 0x10 ) == 0 ) ) ; map . put ( "FRIDAY" , Boolean . valueOf ( ( data [ 17 ] & 0x20 ) == 0 ) ) ; map . put ( "SATURDAY" , Boolean . valueOf ( ( data [ 17 ] & 0x01 ) == 0 ) ) ; addRow ( uniqueID , map ) ; } }
{@inheritDoc}