<?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 Doesn't TalendDate.parseDate() validate the date? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339410#M107552</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the TalendDate.parseDate() to convert the string to date.&lt;/P&gt;&lt;P&gt;When I'm entering the wrong date that doesn't exist TalendDate.parseDate("yyyy-MM-dd", "2023-02-48") I'm getting the result: 2023-03-20&lt;/P&gt;&lt;P&gt;I was pretty sure it should fail on the conversion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 21:56:04 GMT</pubDate>
    <dc:creator>COW_WW</dc:creator>
    <dc:date>2024-11-15T21:56:04Z</dc:date>
    <item>
      <title>Doesn't TalendDate.parseDate() validate the date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339410#M107552</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the TalendDate.parseDate() to convert the string to date.&lt;/P&gt;&lt;P&gt;When I'm entering the wrong date that doesn't exist TalendDate.parseDate("yyyy-MM-dd", "2023-02-48") I'm getting the result: 2023-03-20&lt;/P&gt;&lt;P&gt;I was pretty sure it should fail on the conversion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:56:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339410#M107552</guid>
      <dc:creator>COW_WW</dc:creator>
      <dc:date>2024-11-15T21:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't TalendDate.parseDate() validate the date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339411#M107553</link>
      <description>&lt;P&gt;Hello @COW_WW BA​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;TalendDate.parseDate() will invoke the java.util.Calendar to parse the date and it won't validate the date.&lt;/P&gt;&lt;P&gt;As a workaround, please use SimpleDateFormat like:&lt;/P&gt;&lt;P&gt;new SimpleDateFormat("yyyy-MM-dd").parse("2023-03-02")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aiming&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 03:05:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339411#M107553</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-04T03:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't TalendDate.parseDate() validate the date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339412#M107554</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;You can also use tSchemaCompliancdCheck to validate the date before converting the string to a Date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 05:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339412#M107554</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-04T05:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't TalendDate.parseDate() validate the date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339413#M107555</link>
      <description>&lt;P&gt;Should this workaround validate the date? I just tried it and got the same result.  &lt;/P&gt;&lt;P&gt;new SimpleDateFormat("yyyy-MM-dd").parse("2023-02-48") &lt;/P&gt;&lt;P&gt;The result is: 2023-03-20&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 14:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339413#M107555</guid>
      <dc:creator>COW_WW</dc:creator>
      <dc:date>2023-04-04T14:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't TalendDate.parseDate() validate the date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339414#M107556</link>
      <description>&lt;P&gt;The typicall frameworks ignore such wrong dates and correct them automatically.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 14:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339414#M107556</guid>
      <dc:creator>jlolling_kloeckner</dc:creator>
      <dc:date>2023-04-05T14:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't TalendDate.parseDate() validate the date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339415#M107557</link>
      <description>&lt;P&gt;This will not help!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 14:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339415#M107557</guid>
      <dc:creator>jlolling_kloeckner</dc:creator>
      <dc:date>2023-04-05T14:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't TalendDate.parseDate() validate the date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339416#M107558</link>
      <description>&lt;P&gt;You need to switch of the lenient mode which cause the automatically correction.&lt;/P&gt;&lt;P&gt;To do so use:  TalendDate.parseDate("yyyy-MM-dd", "2023-03-48", false)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will get as result an exception like this: java.lang.IllegalArgumentException: DAY_OF_MONTH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 14:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339416#M107558</guid>
      <dc:creator>jlolling_kloeckner</dc:creator>
      <dc:date>2023-04-05T14:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Doesn't TalendDate.parseDate() validate the date?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339417#M107559</link>
      <description>&lt;P&gt;You need to switch off the lenient mode which cause the automatically correction.&lt;/P&gt;&lt;P&gt;To do so use: TalendDate.parseDate("yyyy-MM-dd", "2023-03-48", false)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will get as result an exception like this: java.lang.IllegalArgumentException: DAY_OF_MONTH&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 14:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Doesn-t-TalendDate-parseDate-validate-the-date/m-p/2339417#M107559</guid>
      <dc:creator>jlolling_kloeckner</dc:creator>
      <dc:date>2023-04-05T14:47:08Z</dc:date>
    </item>
  </channel>
</rss>

