public JOSMTolerantFastXMLParser(Sink sink,XMLStreamReader reader,boolean enableDateParsing){
  this.sink=sink;
  this.enableDateParsing=enableDateParsing;
  this.reader=reader;
  if (enableDateParsing) {
    timestampFormat=new XmlTimestampFormat();
  }
 else {
    Calendar calendar;
    calendar=Calendar.getInstance();
    calendar.set(Calendar.MILLISECOND,0);
    dummyTimestampContainer=new SimpleTimestampContainer(calendar.getTime());
  }
  memberTypeParser=new MemberTypeParser();
}

public JOSMTolerantFastXMLParser ( Sink sink , XMLStreamReader reader , boolean enableDateParsing ) { this . sink = sink ; this . enableDateParsing = enableDateParsing ; this . reader = reader ; if ( enableDateParsing ) { timestampFormat = new XmlTimestampFormat ( ) ; } else { Calendar calendar ; calendar = Calendar . getInstance ( ) ; calendar . set ( Calendar . MILLISECOND , 0 ) ; dummyTimestampContainer = new SimpleTimestampContainer ( calendar . getTime ( ) ) ; } memberTypeParser = new MemberTypeParser ( ) ; }
creates a new instance .
