if ( stringValue != null ) { try { long timeMills = new Long( stringValue ).longValue( ); return new Timestamp( timeMills ); } catch ( NumberFormatException e1 ) { try { java.util.Date date = DateUtil.toDate( stringValue ); Timestamp timeStamp = new Timestamp( date.getTime( ) );
if( stringValue != null ) { try { stringValue = stringValue.replaceAll("\\QT\\E"," ").split("\\QZ\\E")[0]; return Timestamp.valueOf( stringValue ); } catch( IllegalArgumentException e ) { try{ long timeMills = new Long(stringValue).longValue(); return new Timestamp( timeMills ); }catch ( NumberFormatException e1) { try { java.util.Date date = DateUtil.toDate( stringValue ); Timestamp timeStamp = new Timestamp( date.getTime( ) );
    private Timestamp stringToTimestamp( String stringValue ) throws OdaException    {    	testClosed();    	if ( stringValue != null )		{			try			{				long timeMills = new Long( stringValue ).longValue( );				return new Timestamp( timeMills );			}			catch ( NumberFormatException e1 )			{				try				{					java.util.Date date = DateUtil.toDate( stringValue );					Timestamp timeStamp = new Timestamp( date.getTime( ) );					return timeStamp;				}				catch ( OdaException oe )				{					this.wasNull = true;					return null;				}			}		}    	this.wasNull = true;        return null;    }