mohammadsami / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

IsoDate.stringToDate error with milliseconds and no 'Z' #102

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.Call  IsoDate.stringToDate("2012-01-17T19:30:26.003", IsoDate.DATE_TIME) - or 
any date/time string that includes milliseconds but is not terminated with time 
zone designators. IsoDate.DATE_TIME flag must be used.

What is the expected output? What do you see instead?

Error occurs:
"java.lang.StringIndexOutOfBoundsException: index=12 length=12"

What version of the product are you using? On what operating system?
2.6 on Android

Please provide any additional information below.
see following thread for discussion, debugging & analysis:
http://groups.google.com/group/ksoap2-android/browse_thread/thread/a62503d4a40e8
6da

Original issue reported on code.google.com by Carolyn....@gmail.com on 18 Jan 2012 at 12:02