[codenameone-discussions] Re: How to convert a string to date

2021-06-25 Thread Shai Almog
Hi, the initial code you listed should work fine in Codename One. What isn't working when you try to run that code? On Saturday, June 26, 2021 at 3:04:48 AM UTC+3 rdvg...@gmail.com wrote: > Hi, > > Thanks for the comments, I wish you could do the test of the method that I > included with the

[codenameone-discussions] Re: How to convert a string to date

2021-06-25 Thread rdvg...@gmail.com
Hi, Thanks for the comments, I wish you could do the test of the method that I included with the test data and validate the problem that I am detecting. El Friday, June 25, 2021 a la(s) 4:28:11 PM UTC-5, daved...@gmail.com escribió: > The problem with SimpleDateFormat is that it can't cope

[codenameone-discussions] Re: How to convert a string to date

2021-06-25 Thread Dave Dyer
The problem with SimpleDateFormat is that it can't cope with a lot of the junk that passes for "date" out there in the real world. I gave up and wrote my own parser, which I have extended to handle the dates that I actually encounter. On Thursday, June 24, 2021 at 8:30:41 PM UTC-7 Shai Almog