private static String[] createTimestampFormats(){
  timestampFormats=new String[DateAdapterConstants.TIMESTAMP_INPUT_FORMATS.length + DateAdapterConstants.DATE_INPUT_FORMATS.length + 3];
  timestampFormats[0]="yyyy-MM-dd'T'HH:mm:ss.SSSXXX";
  timestampFormats[1]="yyyy-MM-dd'T'HH:mm:ssXXX";
  timestampFormats[2]="yyyy-MM-dd'T'HH:mmXXX";
  System.arraycopy(DateAdapterConstants.TIMESTAMP_INPUT_FORMATS,0,timestampFormats,3,DateAdapterConstants.TIMESTAMP_INPUT_FORMATS.length);
  System.arraycopy(DateAdapterConstants.DATE_INPUT_FORMATS,0,timestampFormats,DateAdapterConstants.TIMESTAMP_INPUT_FORMATS.length + 3,DateAdapterConstants.DATE_INPUT_FORMATS.length);
  return timestampFormats;
}

private static String [ ] createTimestampFormats ( ) { timestampFormats = new String [ DateAdapterConstants . TIMESTAMP_INPUT_FORMATS . length + DateAdapterConstants . DATE_INPUT_FORMATS . length + 3 ] ; timestampFormats [ 0 ] = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX" ; timestampFormats [ 1 ] = "yyyy-MM-dd'T'HH:mm:ssXXX" ; timestampFormats [ 2 ] = "yyyy-MM-dd'T'HH:mmXXX" ; System . arraycopy ( DateAdapterConstants . TIMESTAMP_INPUT_FORMATS , 0 , timestampFormats , 3 , DateAdapterConstants . TIMESTAMP_INPUT_FORMATS . length ) ; System . arraycopy ( DateAdapterConstants . DATE_INPUT_FORMATS , 0 , timestampFormats , DateAdapterConstants . TIMESTAMP_INPUT_FORMATS . length + 3 , DateAdapterConstants . DATE_INPUT_FORMATS . length ) ; return timestampFormats ; }
gets the timestamp formats ; creates them if they do not already exist .
