Re: [Dev] Is there any standard library in java to create a generic date formatter for Solr ?

2015-02-09 Thread Hasanthi Purnima Dissanayake
Hi Sithumini, I have used Joda-time library instead of SimpleDateFormat for formatting dates. You may able to use it. http://www.joda.org/joda-time/ http://blog.smartbear.com/programming/date-and-time-manipulation-in-java-using-jodatime/ Hasanthi Dissanayake Software Engineer | WSO2 E:

[Dev] Is there any standard library in java to create a generic date formatter for Solr ?

2015-02-09 Thread Sithumini Senevirathne
Hi All, I am working on a new feature, Solr based advance search in G-Reg. In my requirement date is passed in below format before index it in Solr. Below are the example date being passed and the standard Solr date format. String dateFormat = Mon Feb 09 02:05:26 IST 2015; The standard Solr

Re: [Dev] Is there any standard library in java to create a generic date formatter for Solr ?

2015-02-09 Thread Thusitha Thilina Dayaratne
May be you can give a try on Natty http://natty.joestelmach.com/ On Mon, Feb 9, 2015 at 1:54 PM, Sithumini Senevirathne sithumi...@wso2.com wrote: Hi All, I am working on a new feature, Solr based advance search in G-Reg. In my requirement date is passed in below format before index it in