Date date = stringToDate( stringValue ); if( date != null )
try
    private Time stringToTime( String stringValue ) throws OdaException    {    	testClosed();    	if( stringValue != null )        {            try            {                return Time.valueOf( stringValue );            }            catch( IllegalArgumentException e )            {                Date date = stringToDate( stringValue );				if( date != null )				{					return new Time( date.getTime() );				}            }        }    	this.wasNull = true;        return null;    }