source = source.replaceFirst( "T", " " );  for ( int i = 0; i < simpleDateFormatter.length - 1; i++ )
try
	private static Date toDateISO8601( String source ) throws BirtException	{		Date resultDate = null;		source = source.replaceFirst( "T", " " );				for ( int i = 0; i < simpleDateFormatter.length - 1; i++ )		{			try			{				resultDate = simpleDateFormatter[i].parse( source );				return resultDate;			}			catch ( ParseException e1 )			{			}		}		//Only string matching "[0-9]+" can be applied to simpleDateFormatter.		if ( source.length( ) <= 4 && source.matches( "[0-9]+" ) )		{			try			{				resultDate = simpleDateFormatter[simpleDateFormatter.length - 1].parse( source );				return resultDate;			}			catch ( ParseException e1 )			{			}		}		// for the String can not be parsed, throws a BirtException		if ( resultDate == null )		{			throw new BirtException( pluginId,					ResourceConstants.CONVERT_FAILS,					new Object[]{							source.toString( ), "Date"					},					resourceBundle );		}		// never access here		return resultDate;	}