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 format is "*yyyy-MM-dd'T'HH:mm:ss'Z*'"

As the solution I tried SimpleDateFormat but the problem with this approach is,
its not a generic solution to support various formats. So looking for a
generic one available, which can cater to any date format.

Is there a standard library to achieve this ?

Thanks,
Regards,
Sithumini
-- 
-- 
Sithumini Senevirathne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

email: sithumi...@wso2.com,   mobile: +94 756977999
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to