[Dev] Exception while reading time format in CEP

2015-11-08 Thread Yasara Dissanayake
Hi, I'm try to match this date format "Wed Aug 27 13:08:45 + 2008" which is in twitter API with "EEE MMM dd HH:mm:ss Z yyy" but it gives : , error in processing org.wso2.siddhi.core.query.processor.stream.window.LengthWindowProcessor, Provided format EEE MMM dd HH:mm:ss Z yyy does not match wi

Re: [Dev] Exception while reading time format in CEP

2015-11-09 Thread Sajith Ravindra
Hi Yasara, Apparently, there's a problem with your time stamp Wed Aug 27 13:08:45 2008 it does not have the sign(+/-) in timezone. It should be corrected as follows, Wed Aug 27 13:08:45 + 2008 Please refer http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html for

Re: [Dev] Exception while reading time format in CEP

2015-11-09 Thread Yasara Dissanayake
Hi Sajith, Thank You. I was use stream simulator for testing and + was not send trough it. Now it's working. Regards, Yasara On Mon, Nov 9, 2015 at 2:20 PM, Sajith Ravindra wrote: > Hi Yasara, > > Apparently, there's a problem with your time stamp > > Wed Aug 27 13:08:45 2008 > > it does