<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Method not defined for parseDate() in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Method-not-defined-for-parseDate/m-p/2230543#M21138</link>
    <description>Hi&amp;nbsp; 
&lt;BR /&gt;tJavaRow doesn't support the expression like this 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;output_row.Date = input_row.Date.equals("")?null : parseDate("MM/dd/yyyy", input_row.Date)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;You should use tMap component, and write the expression as:&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;row1.Date.equals("")?null:TalendDate.parseDate("MM/dd/yyyy",row1.Date)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Regards&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Shong&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Fri, 03 Feb 2017 02:38:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-02-03T02:38:27Z</dc:date>
    <item>
      <title>Method not defined for parseDate()</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Method-not-defined-for-parseDate/m-p/2230542#M21137</link>
      <description>Hi,&lt;BR /&gt;I am trying to convert a string that contains nulls into Date format. The data is in csv so I have a main connection to the tJavaRow with the code:&lt;BR /&gt;&lt;FONT size="2"&gt;output_row.Date = input_row.Date.equals("")?null : parseDate("MM/dd/yyyy", input_row.Date)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;Error:&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;The method parseDate(String, String) is undefined for the type ......</description>
      <pubDate>Thu, 02 Feb 2017 23:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Method-not-defined-for-parseDate/m-p/2230542#M21137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-02T23:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Method not defined for parseDate()</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Method-not-defined-for-parseDate/m-p/2230543#M21138</link>
      <description>Hi&amp;nbsp; 
&lt;BR /&gt;tJavaRow doesn't support the expression like this 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;output_row.Date = input_row.Date.equals("")?null : parseDate("MM/dd/yyyy", input_row.Date)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;You should use tMap component, and write the expression as:&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;row1.Date.equals("")?null:TalendDate.parseDate("MM/dd/yyyy",row1.Date)&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Regards&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT size="2"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Shong&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 03 Feb 2017 02:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Method-not-defined-for-parseDate/m-p/2230543#M21138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-03T02:38:27Z</dc:date>
    </item>
  </channel>
</rss>

