if ( this.opened.getTime() != that.opened.getTime() )
{
mods = true;
buf.append( prefix );
buf.append( "Open date changed from '" );
dFmt.format( that.opened, dBuf, new FieldPosition(0) );
buf.append( dBuf );
buf.append( "' to '" );
dFmt.format( this.opened, dBuf, new FieldPosition(0) );
buf.append( dBuf );
buf.append( "'.\n" );
}
// CLOSE DATE
if ( this.closed == null && that.closed == null )
{
// No mods
}
else if ( this.closed == null && that.closed != null )
{
mods = true;
buf.append( prefix );
buf.append( "Close date unset, previous value was '" );
dFmt.format( that.closed, dBuf, new FieldPosition(0) );
buf.append( dBuf );
buf.append( "'.\n" );
}
else if ( this.closed != null && that.closed == null )
{
mods = true;
buf.append( prefix );
buf.append( "Close date set to '" );
dFmt.format( this.closed, dBuf, new FieldPosition(0) );
buf.append( dBuf );
buf.append( "'.\n" );
}
else if ( this.closed.getTime() != that.closed.getTime() )
{
mods = true;
buf.append( prefix );
buf.append( "Close date changed from '" );
dFmt.format( that.closed, dBuf, new FieldPosition(0) );
buf.append( dBuf );
buf.append( "' to '" );
dFmt.format( this.closed, dBuf, new FieldPosition(0) );
buf.append( dBuf );
buf.append( "'.\n" );
}
if ( ! this.envdesc.equals( that.envdesc ) )