<?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: a simple test on Talendate, need some java help! in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/a-simple-test-on-Talendate-need-some-java-help/m-p/2272862#M50018</link>
    <description>(sorry, I posted preview message by error)
&lt;BR /&gt;So to continue :
&lt;BR /&gt;I want filter to get ONLY people for whicth datin and dateout are dates in between currentdate, adding a filter like this seems to (almost) work : 
&lt;BR /&gt;
&lt;BR /&gt;(
&lt;BR /&gt;(TalendDate.compareDate(row1.Datum_in_dienst,TalendDate.getCurrentDate())&amp;lt;=0) 
&lt;BR /&gt;&amp;amp;&amp;amp;
&lt;BR /&gt;(TalendDate.compareDate(TalendDate.getCurrentDate(),row1.Datum_uit_dienst)&amp;lt;=0)
&lt;BR /&gt;) 
&lt;BR /&gt;the think is that, sometime, the dateout is not defined (empty or null value, i don't know), in this case, i want to take the data too, who can I test this in java?
&lt;BR /&gt;Many thanks for any help on this.</description>
    <pubDate>Mon, 19 Jul 2010 09:41:35 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2010-07-19T09:41:35Z</dc:date>
    <item>
      <title>a simple test on Talendate, need some java help!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/a-simple-test-on-Talendate-need-some-java-help/m-p/2272861#M50017</link>
      <description>Hi,&lt;BR /&gt;my question is probably very simple (i am using TOS), &lt;BR /&gt;I am using a tmap component, I hava data coming in th component that is a list of people: lastname , firstname, etc (Basic fields). Two columns are dates (datein and dateout) I just want to filter and get only people and compare date are TODAY in</description>
      <pubDate>Sat, 16 Nov 2024 13:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/a-simple-test-on-Talendate-need-some-java-help/m-p/2272861#M50017</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: a simple test on Talendate, need some java help!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/a-simple-test-on-Talendate-need-some-java-help/m-p/2272862#M50018</link>
      <description>(sorry, I posted preview message by error)
&lt;BR /&gt;So to continue :
&lt;BR /&gt;I want filter to get ONLY people for whicth datin and dateout are dates in between currentdate, adding a filter like this seems to (almost) work : 
&lt;BR /&gt;
&lt;BR /&gt;(
&lt;BR /&gt;(TalendDate.compareDate(row1.Datum_in_dienst,TalendDate.getCurrentDate())&amp;lt;=0) 
&lt;BR /&gt;&amp;amp;&amp;amp;
&lt;BR /&gt;(TalendDate.compareDate(TalendDate.getCurrentDate(),row1.Datum_uit_dienst)&amp;lt;=0)
&lt;BR /&gt;) 
&lt;BR /&gt;the think is that, sometime, the dateout is not defined (empty or null value, i don't know), in this case, i want to take the data too, who can I test this in java?
&lt;BR /&gt;Many thanks for any help on this.</description>
      <pubDate>Mon, 19 Jul 2010 09:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/a-simple-test-on-Talendate-need-some-java-help/m-p/2272862#M50018</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-07-19T09:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: a simple test on Talendate, need some java help!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/a-simple-test-on-Talendate-need-some-java-help/m-p/2272863#M50019</link>
      <description>row1.Datum_in_dienst .before(TalendDate.getCurrentDate()) // not inclusive&lt;BR /&gt;&amp;amp;&amp;amp;&lt;BR /&gt;row1.Datum_uit_dienst.after(TalendDate.getCurrentDate()) // not inclusive</description>
      <pubDate>Mon, 19 Jul 2010 12:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/a-simple-test-on-Talendate-need-some-java-help/m-p/2272863#M50019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-19T12:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: a simple test on Talendate, need some java help!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/a-simple-test-on-Talendate-need-some-java-help/m-p/2272864#M50020</link>
      <description>That will cause a Null Pointer Exception if row1.Datum_uit_dienst is null.  Use&lt;BR /&gt;!row1.Datum_in_dienst.after(TalendDate.getCurrentDate())&lt;BR /&gt;&amp;amp;&amp;amp; (row1.Datum_uit_dienst==null || !row1.Datum_uit_dienst.before(TalendDate.getCurrentDate()))&lt;BR /&gt;(I also used !after and !before to replicate your previous &amp;lt;= conditions.)</description>
      <pubDate>Tue, 20 Jul 2010 04:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/a-simple-test-on-Talendate-need-some-java-help/m-p/2272864#M50020</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2010-07-20T04:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: a simple test on Talendate, need some java help!</title>
      <link>https://community.qlik.com/t5/Talend-Studio/a-simple-test-on-Talendate-need-some-java-help/m-p/2272865#M50021</link>
      <description>Thank you !</description>
      <pubDate>Thu, 22 Jul 2010 08:19:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/a-simple-test-on-Talendate-need-some-java-help/m-p/2272865#M50021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-22T08:19:25Z</dc:date>
    </item>
  </channel>
</rss>

